package com.sg.service.biz.component.impl;

import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.collection.CollectionUtil;
import com.sg.common.util.CommonFunctionHelper;
import com.sg.common.util.RedisUtil;
import com.sg.dto.base.component.req.*;
import com.sg.dto.biz.component.req.*;
import com.sg.dto.biz.component.res.*;
import com.sg.service.biz.component.BusinessAtomService;
import com.sg.service.biz.component.InterfaceModeService;
import com.sg.service.biz.component.StandardDataService;
import com.sg.service.biz.component.StatisticalDataService;
import com.wicket.okrcomponent.common.annotations.BanAuto;
import com.sg.common.exception.Assert;
import com.wicket.okrcomponent.common.exception.BizException;
import com.wicket.okrcomponent.dal.po.mbg.*;
import com.wicket.okrcomponent.integration.ConfSchemeService;
import org.apache.skywalking.apm.toolkit.trace.Tag;
import org.apache.skywalking.apm.toolkit.trace.Tags;
import org.apache.skywalking.apm.toolkit.trace.Trace;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;

/**
 * @author ：
 * @version 1.0
 * @date ：
 */
@Service
public class ConfSchemeServiceImpl
        implements com.wicket.okrcomponent.biz.service.ConfSchemeService {

    @Resource
    private RedisUtil redisUtil;
    @Resource
    private MOmsConfSchemeOptionResultService mOmsConfSchemeOptionResultService;
    @Resource
    private NbConfScheme nbConfScheme;

    @Resource
    private MOmsConfClassItemService mOmsConfClassItemService;
    @Resource
    private MOmsConfItemService mOmsConfItemService;
    @Resource
    private MOmsConfItemOptionRelationshipService mOmsConfItemOptionRelationshipService;
    @Resource
    private MOmsConfSchemeService mOmsConfSchemeService;
    @Resource
    private MOmsSchemeOpenRecordService mOmsSchemeOpenRecordService;
    @Resource
    private MOmsConfOptionService mOmsConfOptionService;
    @Resource
    private MOmsConfItemClassService mOmsConfItemClassService;
    @Resource
    private MOmsConfApplexRelService mOmsConfApplexRelService;
    @Resource
    private ConfSchemeService confSchemeService;
    @Resource
    private MOmsUnstructuredDataService mOmsUnstructuredDataService;
    @Resource
    private MCustomFields3Service mCustomFields3Service;
    //@Resource
    //private MMmmShellService mMmmShellService;
    @Resource
    private MOmsMessageVirtualImageService mOmsMessageVirtualImageService;
    @Resource
    private MOmsMessageService mOmsMessageService;
    @Resource
    private StandardDataService standardDataService;
    @Resource
    private MOmsUnstructuredDataRelationshipService mOmsUnstructuredDataRelationshipService;
    @Resource
    private BusinessAtomService businessAtomService;
    @Resource
    private InterfaceModeService interfaceModeService;
    @Resource
    private StatisticalDataService statisticalDataService;
//@Resource
    //private MCustomFields5Service mCustomFields5Service;
//@Resource
    //private MCustomFields4Service mCustomFields4Service;
//@Resource
    //private MCustomFields2Service mCustomFields2Service;
//@Resource
    //private undefinedService undefinedService;
//@Resource
    //private MCustomFieldsService mCustomFieldsService;

    /**
     * 1111111D2-3查评价模板文案结果列表（模式验证）[2318]
     * gen by moon at 10/1/2022, 11:36:32 PM
     */
    @Trace(operationName = "1111111D2-3查评价模板文案结果列表（模式验证）")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryEvaTempCopywriterListRespDto queryEvaTempCopywriterList(QueryEvaTempCopywriterListReqDto reqDto) {


        QueryEvaTempCopywriterListRespDto retData = new QueryEvaTempCopywriterListRespDto();


        return retData;
    }

    /**
     * 1111  D2-3查方案下选项配置结果列表(边界)
     */
    @Trace(operationName = "1111  D2-3查方案下选项配置结果列表(边界)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryConfItemResultListBorderRespDto queryConfItemResultListBorder(QueryConfItemResultListBorderReqDto reqDto) {


        //步骤0: 2-3-07查询方案下选项配置结果列表 - queryConfItemResultList
        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult = null;
        QueryConfItemResultListReq queryConfItemResultListReq = new QueryConfItemResultListReq();
        queryConfItemResultListReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:67928_1
        if (reqDto != null) {
            queryConfItemResultListReq.setConfSchemeCode(reqDto.getConfSchemeCode());//sourceId:67926_1
            queryConfItemResultListReq.setConfItemCode(reqDto.getConfItemCode());//sourceId:67937_1
        }

        /*2-3-07查询方案下选项配置结果列表[1940]   */
        listOmsConfSchemeOptionResult = mOmsConfSchemeOptionResultService.queryConfItemResultList(queryConfItemResultListReq);


        QueryConfItemResultListBorderRespDto retData = new QueryConfItemResultListBorderRespDto();
        retData.setConfSchemeItemResultList(listOmsConfSchemeOptionResult.stream().map(item -> BeanUtil.toBean(item, ConfSchemeItemResultDto.class)).collect(Collectors.toList()));//sourceId:67941_1


        return retData;
    }

    /**
     * D2-3批量查询配置项下选项关系列表[2126]
     * gen by moon at 5/27/2023, 7:14:15 PM
     */
    @Trace(operationName = "D2-3批量查询配置项下选项关系列表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public BatchQueryConfItemOptionRespDto batchQueryConfItemOption(BatchQueryConfItemOptionReqDto reqDto) {


        List<OmsConfItemOptionRelationship> listOmsConfItemOptionRelationship_1 = new ArrayList<>();
        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult_1 = new ArrayList<>();
//virtualUsage M2-获取接收字段  15980
        //ModelCode: receptionService
        ObtainReceiveFieldsRespDto receptionServiceRes = null;
        ObtainReceiveFieldsReqDto receptionServiceReq = new ObtainReceiveFieldsReqDto();
        if (reqDto != null) {
            receptionServiceReq.setApplexRelId(reqDto.getApplexRelId());//SimpleFieldAssign//sourceId:314733_1_15980
        }

        /*M2-获取接收字段[4007]  用于特殊方法接收上游入参。 */

        receptionServiceRes = nbConfScheme.obtainReceiveFields(receptionServiceReq);


//virtualUsage 2-3-04查配置方案  15926
        OmsConfScheme omsConfScheme = null;
        QueryConfSchemeDetailReq queryConfSchemeDetailReq = new QueryConfSchemeDetailReq();
        if (reqDto != null) {
            queryConfSchemeDetailReq.setConfSchemeId(reqDto.getConfSchemeId());//SimpleFieldAssign//sourceId:987245_1_15926
            queryConfSchemeDetailReq.setConfSchemeCode(reqDto.getConfSchemeCode());//SimpleFieldAssign//sourceId:312521_1_15926
        }

        /*2-3-04查配置方案[1923]   */

        omsConfScheme = mOmsConfSchemeService.queryConfSchemeDetail(queryConfSchemeDetailReq)/*vcase invoke 本地 method 方法调用;*/;


//virtualUsage 2-3-03批量题目选项关系列表  15927
        List<OmsConfItemOptionRelationship> listOmsConfItemOptionRelationship = new ArrayList<>();
        BatchQueryConfItemOptionListReq batchQueryConfItemOptionListReq = new BatchQueryConfItemOptionListReq();
        if (reqDto != null) {
            batchQueryConfItemOptionListReq.setConfItemOptionList(reqDto.getConfItemOptionList());//list-field-assign//sourceId:61543_1_15927
        }

        /*2-3-03批量题目选项关系列表[1996]   */

        listOmsConfItemOptionRelationship = mOmsConfItemOptionRelationshipService.batchQueryConfItemOptionList(batchQueryConfItemOptionListReq)/*vcase invoke 本地 method 方法调用;*/;


        listOmsConfItemOptionRelationship_1 = listOmsConfItemOptionRelationship;
        if ((reqDto != null && reqDto.getIsPlatData() != null && reqDto.getIsPlatData().equals("TRUE") && reqDto != null && reqDto.getApplexRelId() == null && reqDto != null && reqDto.getResultAspObjId() == null)) {
            //if((D2-3批量查询配置项下选项关系列表.是否平台数据 等于 是 and D2-3批量查询配置项下选项关系列表.应用实例配置关系ID 值等于空  and D2-3批量查询配置项下选项关系列表.答案归属对象ID 值等于空 ))  15928

            List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult = new ArrayList<>();
            if (listOmsConfItemOptionRelationship != null && !CollectionUtil.isEmpty(listOmsConfItemOptionRelationship) && listOmsConfItemOptionRelationship.size() > 0) {
                BatchQueryConfItemResultListReq batchQueryConfItemResultListReq = new BatchQueryConfItemResultListReq();
                batchQueryConfItemResultListReq.setIsArchive("FALSE");//sourceId:987269_1_15929
                if (listOmsConfItemOptionRelationship != null && !CollectionUtil.isEmpty(listOmsConfItemOptionRelationship) && listOmsConfItemOptionRelationship != null && !CollectionUtil.isEmpty(listOmsConfItemOptionRelationship)) {
                    batchQueryConfItemResultListReq.setConfSchemeItemResultList(listOmsConfItemOptionRelationship.stream().map(item -> item.getConfOptionRshipId())
                            .collect(Collectors.toList()));/*list-to-strings*///sourceId:61548_1_15929
                }
                if (reqDto != null) {
                    batchQueryConfItemResultListReq.setIsPlatData(reqDto.getIsPlatData());//SimpleFieldAssign//sourceId:61552_1_15929
                    batchQueryConfItemResultListReq.setConfSchemeCode(reqDto.getConfSchemeCode());//SimpleFieldAssign//sourceId:61551_1_15929
                    batchQueryConfItemResultListReq.setConfSchemeId(reqDto.getConfSchemeId());//SimpleFieldAssign//sourceId:987265_1_15929
                }

                /*2-3-07批量查询方案下题目答案列表[1986]   */
                Assert.isNull(batchQueryConfItemResultListReq.getIsArchive(), "D2-3批量查询配置项下选项关系列表-2-3-07批量查询方案下题目答案列表-是否存档不能为空", false);
                listOmsConfSchemeOptionResult = mOmsConfSchemeOptionResultService.batchQueryConfItemResultList(batchQueryConfItemResultListReq)/*vcase invoke 本地 method 方法调用;*/;


                listOmsConfSchemeOptionResult_1 = listOmsConfSchemeOptionResult;
            }
//processBranchName:正常结束 ,processBranchId:15930

        } else if ((reqDto != null && reqDto.getApplexRelId() != null && reqDto != null && reqDto.getResultAspObjId() != null)) {
            //elseif((D2-3批量查询配置项下选项关系列表.应用实例配置关系ID 值不等于空  and D2-3批量查询配置项下选项关系列表.答案归属对象ID 值不等于空 ))  15931

            OmsConfApplexRel omsConfApplexRel = null;
            QueryApplexConrelDetailReq queryApplexConrelDetailReq = new QueryApplexConrelDetailReq();
            if (reqDto != null) {
                queryApplexConrelDetailReq.setApplexRelId(reqDto.getApplexRelId());//SimpleFieldAssign//sourceId:987264_1_43239
            }

            /*2-3-13查使用关系详情[2122]   */
            Assert.isNull(queryApplexConrelDetailReq.getApplexRelId(), "D2-3批量查询配置项下选项关系列表-2-3-13查使用关系详情-开通对象使用关系ID不能为空", false);
            omsConfApplexRel = mOmsConfApplexRelService.queryApplexConrelDetail(queryApplexConrelDetailReq)/*vcase invoke 本地 method 方法调用;*/;


            List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult_2 = new ArrayList<>();
            if (listOmsConfItemOptionRelationship != null && !CollectionUtil.isEmpty(listOmsConfItemOptionRelationship) && listOmsConfItemOptionRelationship.size() > 0 && omsConfApplexRel != null) {
                BatchQueryConfItemResultListReq batchQueryConfItemResultListReq_1 = new BatchQueryConfItemResultListReq();
                batchQueryConfItemResultListReq_1.setIsArchive("FALSE");//sourceId:987269_1_15932
                if (listOmsConfItemOptionRelationship != null && !CollectionUtil.isEmpty(listOmsConfItemOptionRelationship) && listOmsConfItemOptionRelationship != null && !CollectionUtil.isEmpty(listOmsConfItemOptionRelationship)) {
                    batchQueryConfItemResultListReq_1.setConfSchemeItemResultList(listOmsConfItemOptionRelationship.stream().map(item -> item.getConfOptionRshipId())
                            .collect(Collectors.toList()));/*list-to-strings*///sourceId:61548_1_15932
                }
                if (omsConfApplexRel != null) {
                    batchQueryConfItemResultListReq_1.setApplexRelId(omsConfApplexRel.getApplexRelId());//SimpleFieldAssign//sourceId:314738_1_15932
                    batchQueryConfItemResultListReq_1.setResultAspObjId(omsConfApplexRel.getApplexId());//SimpleFieldAssign//sourceId:62020_1_15932
                    batchQueryConfItemResultListReq_1.setConfSchemeId(omsConfApplexRel.getConfSchemeId());//SimpleFieldAssign//sourceId:987265_1_15932
                }
                if (reqDto != null) {
                    batchQueryConfItemResultListReq_1.setIsPlatData(reqDto.getIsPlatData());//SimpleFieldAssign//sourceId:61552_1_15932
                }

                /*2-3-07批量查询方案下题目答案列表[1986]   */
                Assert.isNull(batchQueryConfItemResultListReq_1.getIsArchive(), "D2-3批量查询配置项下选项关系列表-2-3-07批量查询方案下题目答案列表-是否存档不能为空", false);
                listOmsConfSchemeOptionResult_2 = mOmsConfSchemeOptionResultService.batchQueryConfItemResultList(batchQueryConfItemResultListReq_1)/*vcase invoke 本地 method 方法调用;*/;


                listOmsConfSchemeOptionResult_1 = listOmsConfSchemeOptionResult_2;
            }
//processBranchName:正常结束 ,processBranchId:15933

        }
        BatchQueryConfItemOptionRespDto retData = new BatchQueryConfItemOptionRespDto();
        //数据集融合  MoreListToOneSource
        if (listOmsConfItemOptionRelationship_1 != null && !CollectionUtil.isEmpty(listOmsConfItemOptionRelationship_1) && !CollectionUtil.isEmpty(listOmsConfItemOptionRelationship_1)) {
            for (OmsConfItemOptionRelationship omsConfItemOptionRelationship : listOmsConfItemOptionRelationship_1) {
                ConfItemOptionDto retElm = new ConfItemOptionDto();
                retElm.setConfOptionRshipId(omsConfItemOptionRelationship.getConfOptionRshipId());//SimpleFieldAssign//sourceId:34083_2
                retElm.setConfItemId(omsConfItemOptionRelationship.getConfItemId());//SimpleFieldAssign//sourceId:34088_2
                retElm.setConfItemCode(omsConfItemOptionRelationship.getConfItemCode());//SimpleFieldAssign//sourceId:34084_2
                retElm.setConfOptionId(omsConfItemOptionRelationship.getConfOptionId());//SimpleFieldAssign//sourceId:34089_2
                retElm.setConfOptionCode(omsConfItemOptionRelationship.getConfOptionCode());//SimpleFieldAssign//sourceId:34085_2
                retElm.setConfOptionName(omsConfItemOptionRelationship.getConfOptionName());//SimpleFieldAssign//sourceId:34315_2
                retElm.setOrderNumber(omsConfItemOptionRelationship.getOrderNumber());//SimpleFieldAssign//sourceId:87050_2
                retData.getConfItemOptionList().add(retElm);
                if (listOmsConfSchemeOptionResult_1 != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult_1)) {
                    for (OmsConfSchemeOptionResult omsConfSchemeOptionResult : listOmsConfSchemeOptionResult_1) {
                        if (omsConfSchemeOptionResult.getConfOptionRshipId().equals(omsConfItemOptionRelationship.getConfOptionRshipId())) {
                            retElm.setOptionResultId(omsConfSchemeOptionResult.getOptionResultId());//SimpleFieldAssign//sourceId:34949_2
                            retElm.setEndValue(omsConfSchemeOptionResult.getEndValue());//SimpleFieldAssign//sourceId:34091_2
                            retElm.setExtensionField1(omsConfSchemeOptionResult.getExtensionField1());//SimpleFieldAssign//sourceId:61252_2
                            retElm.setExtensionField2(omsConfSchemeOptionResult.getExtensionField2());//SimpleFieldAssign//sourceId:61253_2
                            retElm.setResultType(omsConfSchemeOptionResult.getResultType());//SimpleFieldAssign//sourceId:34090_2
                            retElm.setOptionType(omsConfSchemeOptionResult.getOptionType());//SimpleFieldAssign//sourceId:34790_2
                            retElm.setIsUltrResult(omsConfSchemeOptionResult.getIsUltrResult());//SimpleFieldAssign//sourceId:210296_2
                            retElm.setIsPlatData(omsConfSchemeOptionResult.getIsPlatData());//SimpleFieldAssign//sourceId:210297_2
                            retElm.setIsCeResult(omsConfSchemeOptionResult.getIsCeResult());//SimpleFieldAssign//sourceId:34419_2
                        }
                    }
                }

            }
        }//sourceId:61563_1


        return retData;
    }

    /**
     * D2-3查询分组下配置项列表[1995]
     * gen by moon at 5/27/2023, 7:14:30 PM
     */
    @Trace(operationName = "D2-3查询分组下配置项列表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryConfClassItemListRespDto queryConfClassItemList(QueryConfClassItemListReqDto reqDto) {


        List<OmsConfClassItem> listOmsConfClassItem_1 = new ArrayList<>();
        List<OmsConfItem> listOmsConfItem_1 = new ArrayList<>();
//步骤0: 2-3-06查分组下配置项列表 - queryConfClassItemList
        List<OmsConfClassItem> listOmsConfClassItem = new ArrayList<>();
        QueryConfClassItemListReq queryConfClassItemListReq = new QueryConfClassItemListReq();
        if (reqDto != null) {
            queryConfClassItemListReq.setConfItemClassId(reqDto.getConfItemClassId());//SimpleFieldAssign//sourceId:58869_1
        }

        /*2-3-06查分组下配置项列表[1934]   */
        Assert.isNull(queryConfClassItemListReq.getConfItemClassId(), "D2-3查询分组下配置项列表-2-3-06查分组下配置项列表-方案分组ID不能为空", false);
        listOmsConfClassItem = mOmsConfClassItemService.queryConfClassItemList(queryConfClassItemListReq)/*vcase invoke 本地 method 方法调用;*/;


        listOmsConfClassItem_1 = listOmsConfClassItem;

//步骤1: 2-3-02批量查询配置项列表 - batchQueryConfItemList
        List<OmsConfItem> listOmsConfItem = new ArrayList<>();
        if (listOmsConfClassItem != null && !CollectionUtil.isEmpty(listOmsConfClassItem) && listOmsConfClassItem.size() > 0) {
            BatchQueryConfItemListReq batchQueryConfItemListReq = new BatchQueryConfItemListReq();
            if (listOmsConfClassItem != null && !CollectionUtil.isEmpty(listOmsConfClassItem) && listOmsConfClassItem != null && !CollectionUtil.isEmpty(listOmsConfClassItem)) {
                batchQueryConfItemListReq.setConfItemList(listOmsConfClassItem.stream().map(item -> item.getConfItemId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:58876_1
            }

            /*2-3-02批量查询配置项列表[1997]   */

            listOmsConfItem = mOmsConfItemService.batchQueryConfItemList(batchQueryConfItemListReq)/*vcase invoke 本地 method 方法调用;*/;


            listOmsConfItem_1 = listOmsConfItem;
        }

        QueryConfClassItemListRespDto retData = new QueryConfClassItemListRespDto();
        //数据集融合  MoreListToOneSource
        if (listOmsConfClassItem_1 != null && !CollectionUtil.isEmpty(listOmsConfClassItem_1) && !CollectionUtil.isEmpty(listOmsConfClassItem_1)) {
            for (OmsConfClassItem omsConfClassItem : listOmsConfClassItem_1) {
                ConfClassItemDto retElm = new ConfClassItemDto();
                retElm.setClassConfItemId(omsConfClassItem.getClassConfItemId());//SimpleFieldAssign//sourceId:34785_2
                retElm.setConfItemId(omsConfClassItem.getConfItemId());//SimpleFieldAssign//sourceId:32121_2
                retElm.setOrderNumber(omsConfClassItem.getOrderNumber());//SimpleFieldAssign//sourceId:36371_2
                retElm.setSubjectLifeCycle(omsConfClassItem.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:94977_2
                retData.getConfClassItemList().add(retElm);
                if (listOmsConfItem_1 != null && !CollectionUtil.isEmpty(listOmsConfItem_1)) {
                    for (OmsConfItem omsConfItem : listOmsConfItem_1) {
                        if (omsConfItem.getConfItemId().equals(omsConfClassItem.getConfItemId())) {
                            retElm.setConfItemCode(omsConfItem.getConfItemCode());//SimpleFieldAssign//sourceId:34054_2
                            retElm.setShortName(omsConfItem.getShortName());//SimpleFieldAssign//sourceId:32124_2
                            retElm.setConfItemCategory(omsConfItem.getConfItemCategory());//SimpleFieldAssign//sourceId:32125_2
                            retElm.setIsSingleResult(omsConfItem.getIsSingleResult());//SimpleFieldAssign//sourceId:58162_2
                            retElm.setIsSwitch(omsConfItem.getIsSwitch());//SimpleFieldAssign//sourceId:32141_2
                            retElm.setIsVisible(omsConfItem.getIsVisible());//SimpleFieldAssign//sourceId:34055_2
                            retElm.setIsOpenCustomConf(omsConfItem.getIsOpenCustomConf());//SimpleFieldAssign//sourceId:34056_2
                            retElm.setIsAllowUpdateAnswer(omsConfItem.getIsAllowUpdateAnswer());//SimpleFieldAssign//sourceId:61837_2
                        }
                    }
                }

            }
        }//sourceId:58887_1


        return retData;
    }

    /**
     * D2-3批量新增分组下配置项[2019]
     * gen by moon at 8/18/2022, 10:47:16 PM
     */
    @Trace(operationName = "D2-3批量新增分组下配置项")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public BatchAddConfClassItemRespDto batchAddConfClassItem(BatchAddConfClassItemReqDto reqDto) {


        //步骤0: 2-3-06批量新增分组下配置项 - batchAddConfClassItem
        boolean bOOLEAN;
        List<OmsConfClassItem> listOmsConfClassItem = new ArrayList<>();
        if (reqDto != null) {
            // TODO: 2022/8/19 晓东：入参赋值策略，需要支持单字段 字段模式
            listOmsConfClassItem = reqDto.getConfClassItemList().stream().map(item -> {

                OmsConfClassItem elm = new OmsConfClassItem();
                BeanUtil.copyProperties(item, elm);
                elm.setSubjectLifeCycle("EDITING");
                return elm;
            }).collect(Collectors.toList());//sourceId:58980_1

        }

        /*2-3-06批量新增分组下配置项[2020]   */

        bOOLEAN = mOmsConfClassItemService.batchAddConfClassItem(listOmsConfClassItem);


        BatchAddConfClassItemRespDto retData = new BatchAddConfClassItemRespDto();


        return retData;
    }

    /**
     * D2-3查分组匹配答案列表(公共)（跨服务）[2848]
     * gen by moon at 12/11/2022, 4:26:13 PM
     */
    @Trace(operationName = "D2-3查分组匹配答案列表(公共)（跨服务）")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QuerySchemeClassMatchAnswerListComRespDto querySchemeClassMatchAnswerListCom(QuerySchemeClassMatchAnswerListComReqDto reqDto) {


        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult_1 = new ArrayList<>();
//步骤0: 2-3-07查询方案下选项配置结果列表 - queryConfItemResultList
        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult = new ArrayList<>();
        QueryConfItemResultListReq queryConfItemResultListReq = new QueryConfItemResultListReq();
        queryConfItemResultListReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:90576_1
        if (reqDto != null) {
            queryConfItemResultListReq.setResultAspObjId(reqDto.getResultAspObjId());//SimpleFieldAssign//sourceId:90575_1
            queryConfItemResultListReq.setResultAspObjType(reqDto.getResultAspObjType());//SimpleFieldAssign//sourceId:90574_1
            queryConfItemResultListReq.setOptionType(reqDto.getOptionType());//SimpleFieldAssign//sourceId:99384_1
            queryConfItemResultListReq.setConfItemClassCode(reqDto.getConfItemClassCode());//SimpleFieldAssign//sourceId:90573_1
            queryConfItemResultListReq.setConfSchemeCode(reqDto.getConfSchemeCode());//SimpleFieldAssign//sourceId:102537_1
            queryConfItemResultListReq.setIsCeResult(reqDto.getIsCeResult());//SimpleFieldAssign//sourceId:102539_1
            queryConfItemResultListReq.setIsInitialScheme(reqDto.getIsInitialScheme());//SimpleFieldAssign//sourceId:102538_1
            queryConfItemResultListReq.setIsPlatData(reqDto.getIsPlatData());//SimpleFieldAssign//sourceId:102543_1
        }

        /*2-3-07查询方案下选项配置结果列表[1940]   */
        Assert.isNull(queryConfItemResultListReq.getConfItemClassCode(), "D2-3查分组匹配答案列表(公共)（跨服务）-2-3-07查询方案下选项配置结果列表-分组标识不能为空", false);
        Assert.isNull(queryConfItemResultListReq.getIsPlatData(), "D2-3查分组匹配答案列表(公共)（跨服务）-2-3-07查询方案下选项配置结果列表-是否标准答案不能为空", false);
        Assert.isNull(queryConfItemResultListReq.getSubjectLifeCycle(), "D2-3查分组匹配答案列表(公共)（跨服务）-2-3-07查询方案下选项配置结果列表-主体生命周期不能为空", false);
        listOmsConfSchemeOptionResult = mOmsConfSchemeOptionResultService.queryConfItemResultList(queryConfItemResultListReq);


        listOmsConfSchemeOptionResult_1 = listOmsConfSchemeOptionResult;

        QuerySchemeClassMatchAnswerListComRespDto retData = new QuerySchemeClassMatchAnswerListComRespDto();
        retData.setConfSchemeItemResultList(listOmsConfSchemeOptionResult_1.stream().map(item -> BeanUtil.toBean(item, ConfSchemeItemResultDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:90582_1


        return retData;
    }

    /**
     * 11111D2-3查分组匹配答案列表(公共)(边界)
     */
    @Trace(operationName = "11111D2-3查分组匹配答案列表(公共)(边界)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QuerySchemeClassMatchAnswerListComBorderRespDto querySchemeClassMatchAnswerListComBorder(QuerySchemeClassMatchAnswerListComBorderReqDto reqDto) {


        //步骤0: 2-3-06查分组下配置项列表 - queryConfClassItemList
        List<OmsConfClassItem> listOmsConfClassItem = null;
        QueryConfClassItemListReq queryConfClassItemListReq = new QueryConfClassItemListReq();
        queryConfClassItemListReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:72580_1
        if (reqDto != null) {
            queryConfClassItemListReq.setConfItemClassCode(reqDto.getConfItemClassCode());//sourceId:72585_1
        }

        /*2-3-06查分组下配置项列表（评价主题基础配置分组下配置项）[1934]   */
        listOmsConfClassItem = mOmsConfClassItemService.queryConfClassItemList(queryConfClassItemListReq);


//步骤1: 2-3-07批量查分组匹配答案 - batchQuerySchemeClassMatchAnswer
        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult = null;
        if (listOmsConfClassItem != null && listOmsConfClassItem.size() > 0) {
            BatchQuerySchemeClassMatchAnswerReq batchQuerySchemeClassMatchAnswerReq = new BatchQuerySchemeClassMatchAnswerReq();
            batchQuerySchemeClassMatchAnswerReq.setConfSchemeItemResultList(listOmsConfClassItem.stream()
                    .map(item -> item.getConfItemCode())
                    .collect(Collectors.toList()));//sourceId:72586_1
            batchQuerySchemeClassMatchAnswerReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:72588_1

            /*2-3-07批量查分组配置答案（评价主题基础配置分组答案）[2320]   */
            listOmsConfSchemeOptionResult = mOmsConfSchemeOptionResultService.batchQuerySchemeClassMatchAnswer(batchQuerySchemeClassMatchAnswerReq);


        }

        QuerySchemeClassMatchAnswerListComBorderRespDto retData = new QuerySchemeClassMatchAnswerListComBorderRespDto();
        retData.setConfSchemeItemResultList(listOmsConfSchemeOptionResult.stream().map(item -> BeanUtil.toBean(item, ConfSchemeItemResultDto.class)).collect(Collectors.toList()));//sourceId:73790_1


        return retData;
    }

    /**
     * D2-3查配置项匹配答案详情(公共)（跨服务）[2486]
     * gen by moon at 6/16/2024, 7:21:32 PM
     */
    @Trace(operationName = "D2-3查配置项匹配答案详情(公共)（跨服务）")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailCom(QueryConfItemMatchAnswerDetailComReqDto reqDto) {


        OmsConfSchemeOptionResult omsConfSchemeOptionResult_1 = null;
//步骤0: 2-3-07查配置项匹配答案详情 - queryConfItemMatchAnswerDetail
        OmsConfSchemeOptionResult omsConfSchemeOptionResult = null;
        QueryConfItemMatchAnswerDetailReq queryConfItemMatchAnswerDetailReq = new QueryConfItemMatchAnswerDetailReq();
        queryConfItemMatchAnswerDetailReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:74967_1
        if (reqDto != null) {
            queryConfItemMatchAnswerDetailReq.setEndValue(reqDto.getEndValue());//SimpleFieldAssign//sourceId:1873923_1
            queryConfItemMatchAnswerDetailReq.setConfItemCode(reqDto.getConfItemCode());//SimpleFieldAssign//sourceId:74961_1
            queryConfItemMatchAnswerDetailReq.setConfOptionCode(reqDto.getConfOptionCode());//SimpleFieldAssign//sourceId:1058273_1
            queryConfItemMatchAnswerDetailReq.setAuthorizationKeyTypeCode(reqDto.getAuthorizationKeyTypeCode());//SimpleFieldAssign//sourceId:936775_1
            queryConfItemMatchAnswerDetailReq.setExtensionField1(reqDto.getExtensionField1());//SimpleFieldAssign//sourceId:1053057_1
            queryConfItemMatchAnswerDetailReq.setResultAspObjType(reqDto.getResultAspObjType());//SimpleFieldAssign//sourceId:74962_1
            queryConfItemMatchAnswerDetailReq.setResultAspObjId(reqDto.getResultAspObjId());//SimpleFieldAssign//sourceId:74963_1
            queryConfItemMatchAnswerDetailReq.setConfSchemeId(reqDto.getConfSchemeId());//SimpleFieldAssign//sourceId:834257_1
            queryConfItemMatchAnswerDetailReq.setConfSchemeCode(reqDto.getConfSchemeCode());//SimpleFieldAssign//sourceId:74964_1
            queryConfItemMatchAnswerDetailReq.setIsInitialScheme(reqDto.getIsInitialScheme());//SimpleFieldAssign//sourceId:102530_1
            queryConfItemMatchAnswerDetailReq.setIsPlatData(reqDto.getIsPlatData());//SimpleFieldAssign//sourceId:74965_1
            queryConfItemMatchAnswerDetailReq.setIsCeResult(reqDto.getIsCeResult());//SimpleFieldAssign//sourceId:74966_1
        }

        /*2-3-07查配置项匹配答案详情[2487]   */
        Assert.isNull(queryConfItemMatchAnswerDetailReq.getSubjectLifeCycle(), "D2-3查配置项匹配答案详情(公共)（跨服务）-2-3-07查配置项匹配答案详情-主体生命周期不能为空", false);
        omsConfSchemeOptionResult = mOmsConfSchemeOptionResultService.queryConfItemMatchAnswerDetail(queryConfItemMatchAnswerDetailReq)/*vcase invoke 本地 method 方法调用;*/;


        omsConfSchemeOptionResult_1 = omsConfSchemeOptionResult;

        QueryConfItemMatchAnswerDetailComRespDto retData = new QueryConfItemMatchAnswerDetailComRespDto();
        if (omsConfSchemeOptionResult_1 != null) {
            retData.setOptionResultId(omsConfSchemeOptionResult_1.getOptionResultId());//SimpleFieldAssign//sourceId:74977_1
            retData.setEndValue(omsConfSchemeOptionResult_1.getEndValue());//SimpleFieldAssign//sourceId:74978_1
            retData.setExtensionField1(omsConfSchemeOptionResult_1.getExtensionField1());//SimpleFieldAssign//sourceId:1355933_1
            retData.setExtensionField2(omsConfSchemeOptionResult_1.getExtensionField2());//SimpleFieldAssign//sourceId:1355934_1
            retData.setExtensionField3(omsConfSchemeOptionResult_1.getExtensionField3());//SimpleFieldAssign//sourceId:1396787_1
            retData.setConfOptionName(omsConfSchemeOptionResult_1.getConfOptionName());//SimpleFieldAssign//sourceId:97618_1
            retData.setConfOptionCode(omsConfSchemeOptionResult_1.getConfOptionCode());//SimpleFieldAssign//sourceId:1396789_1
            retData.setShortName(omsConfSchemeOptionResult_1.getShortName());//SimpleFieldAssign//sourceId:1396788_1
            retData.setConfItemCode(omsConfSchemeOptionResult_1.getConfItemCode());//SimpleFieldAssign//sourceId:345084_1
        }


        return retData;
    }


    /**
     * D2-3重置开通方案下选项定制配置结果[2140]
     * gen by moon at 6/3/2023, 6:47:44 AM
     */
    @Trace(operationName = "D2-3重置开通方案下选项定制配置结果")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public ResetOpenConfItemResultRespDto resetOpenConfItemResult(ResetOpenConfItemResultReqDto reqDto) {


        //步骤0: 2-3-13查询应用实例配置关系详情 - queryApplexConrelDetail
        OmsConfApplexRel omsConfApplexRel = null;
        QueryApplexConrelDetailReq queryApplexConrelDetailReq = new QueryApplexConrelDetailReq();
        if (reqDto != null) {
            queryApplexConrelDetailReq.setApplexRelId(reqDto.getApplexRelId());//SimpleFieldAssign//sourceId:489625_1
        }

        /*2-3-13查使用关系[2122]   */
        Assert.isNull(queryApplexConrelDetailReq.getApplexRelId(), "D2-3重置开通方案下选项定制配置结果-2-3-13查使用关系-开通对象使用关系ID不能为空", false);
        omsConfApplexRel = mOmsConfApplexRelService.queryApplexConrelDetail(queryApplexConrelDetailReq)/*vcase invoke 本地 method 方法调用;*/;


//步骤1: 2-3-04查询配置方案详情 - queryConfSchemeDetail
        OmsConfScheme omsConfScheme = null;
        if (omsConfApplexRel != null) {
            QueryConfSchemeDetailReq queryConfSchemeDetailReq = new QueryConfSchemeDetailReq();
            queryConfSchemeDetailReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:261124_1
            if (omsConfApplexRel != null) {
                queryConfSchemeDetailReq.setConfSchemeId(omsConfApplexRel.getConfSchemeId());//SimpleFieldAssign//sourceId:261105_1
            }

            /*2-3-04查询配置方案（是否初始方案）[1923]   */
            Assert.isNull(queryConfSchemeDetailReq.getConfSchemeId(), "D2-3重置开通方案下选项定制配置结果-2-3-04查询配置方案（是否初始方案）-配置方案ID 不能为空", false);
            Assert.isNull(queryConfSchemeDetailReq.getSubjectLifeCycle(), "D2-3重置开通方案下选项定制配置结果-2-3-04查询配置方案（是否初始方案）-生命周期状态不能为空", false);
            omsConfScheme = mOmsConfSchemeService.queryConfSchemeDetail(queryConfSchemeDetailReq)/*vcase invoke 本地 method 方法调用;*/;


        }

//步骤2: 2-3-07查配置项匹配答案列表 - queryConfItemMatchAnswerList
        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult = new ArrayList<>();
        QueryConfItemMatchAnswerListReq queryConfItemMatchAnswerListReq = new QueryConfItemMatchAnswerListReq();
        if (reqDto != null) {
            queryConfItemMatchAnswerListReq.setApplexRelId(reqDto.getApplexRelId());//SimpleFieldAssign//sourceId:314742_1
            queryConfItemMatchAnswerListReq.setClassConfItemId(reqDto.getClassConfItemId());//SimpleFieldAssign//sourceId:310702_1
        }

        /*2-3-07查题目原答案（原克隆答案）[2506]   */
        Assert.isNull(queryConfItemMatchAnswerListReq.getApplexRelId(), "D2-3重置开通方案下选项定制配置结果-2-3-07查题目原答案（原克隆答案）-使用关系ID不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerListReq.getClassConfItemId(), "D2-3重置开通方案下选项定制配置结果-2-3-07查题目原答案（原克隆答案）-配置项关系ID不能为空", false);
        listOmsConfSchemeOptionResult = mOmsConfSchemeOptionResultService.queryConfItemMatchAnswerList(queryConfItemMatchAnswerListReq)/*vcase invoke 本地 method 方法调用;*/;


//步骤3: 2-3-07批量改克隆答案 - batchUpdateCloneResult
        boolean bOOLEAN;
        if (listOmsConfSchemeOptionResult != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult) && listOmsConfSchemeOptionResult.size() > 0) {
            List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult_2 = new ArrayList<>();
            if (listOmsConfSchemeOptionResult != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult) && listOmsConfSchemeOptionResult != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult)) {
                listOmsConfSchemeOptionResult_2 = listOmsConfSchemeOptionResult.stream().map(item -> {
                    OmsConfSchemeOptionResult elm = BeanUtil.toBean(item, OmsConfSchemeOptionResult.class);
                    elm.setSubjectLifeCycle("ARCHIVING");
                    elm.setIsArchive("TRUE");

                    return elm;
                }).collect(Collectors.toList());//objList-to-objLists//sourceId:985712_1
            }

            /*2-3-07批量存档原克隆答案[6655]   */

            bOOLEAN = mOmsConfSchemeOptionResultService.batchUpdateCloneResult(listOmsConfSchemeOptionResult_2)/*vcase invoke 本地 method 方法调用;*/;


        }

//步骤4: 2-3-07查询方案下选项配置结果列表 - queryConfItemResultList
        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult_3 = new ArrayList<>();
        if (omsConfApplexRel != null) {
            QueryConfItemResultListReq queryConfItemResultListReq = new QueryConfItemResultListReq();
            queryConfItemResultListReq.setIsPlatData("TRUE");//sourceId:62160_1
            queryConfItemResultListReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:62156_1
            if (reqDto != null) {
                queryConfItemResultListReq.setClassConfItemId(reqDto.getClassConfItemId());//SimpleFieldAssign//sourceId:310703_1
            }
            if (omsConfApplexRel != null) {
                queryConfItemResultListReq.setConfSchemeId(omsConfApplexRel.getConfSchemeId());//SimpleFieldAssign//sourceId:62749_1
            }

            /*2-3-07查询选项标准答案[1940]   */
            Assert.isNull(queryConfItemResultListReq.getClassConfItemId(), "D2-3重置开通方案下选项定制配置结果-2-3-07查询选项标准答案-配置项关系ID不能为空", false);
            Assert.isNull(queryConfItemResultListReq.getConfSchemeId(), "D2-3重置开通方案下选项定制配置结果-2-3-07查询选项标准答案-配置方案ID 不能为空", false);
            Assert.isNull(queryConfItemResultListReq.getIsPlatData(), "D2-3重置开通方案下选项定制配置结果-2-3-07查询选项标准答案-是否标准答案不能为空", false);
            Assert.isNull(queryConfItemResultListReq.getSubjectLifeCycle(), "D2-3重置开通方案下选项定制配置结果-2-3-07查询选项标准答案-主体生命周期不能为空", false);
            listOmsConfSchemeOptionResult_3 = mOmsConfSchemeOptionResultService.queryConfItemResultList(queryConfItemResultListReq)/*vcase invoke 本地 method 方法调用;*/;
            Assert.isTrue(listOmsConfSchemeOptionResult_3 == null || CollectionUtil.isEmpty(listOmsConfSchemeOptionResult_3) || listOmsConfSchemeOptionResult_3 == null || CollectionUtil.isEmpty(listOmsConfSchemeOptionResult_3) || listOmsConfSchemeOptionResult_3.size() == 0, "找不到数据，系统异常", false);


        }

//步骤5: 2-3-07批量新增开通方案下选项配置结果 - batchAddOpenConfItemResult
        boolean bOOLEAN_1;
        if (listOmsConfSchemeOptionResult_3 != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult_3) && listOmsConfSchemeOptionResult_3.size() > 0) {
            List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult_5 = new ArrayList<>();
            if (listOmsConfSchemeOptionResult_3 != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult_3) && listOmsConfSchemeOptionResult_3 != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult_3)) {
                OmsConfApplexRel finalOmsConfApplexRel = omsConfApplexRel;
                OmsConfScheme finalOmsConfScheme = omsConfScheme;
                listOmsConfSchemeOptionResult_5 = //objList-to-objLists
                        listOmsConfSchemeOptionResult_3.stream().map(item -> {
                            OmsConfSchemeOptionResult elm = new OmsConfSchemeOptionResult();
                            elm.setEndValue(item.getEndValue());//SimpleFieldAssign//sourceId:34466_2
                            elm.setExtensionField1(item.getExtensionField1());//SimpleFieldAssign//sourceId:61262_2
                            elm.setExtensionField2(item.getExtensionField2());//SimpleFieldAssign//sourceId:61263_2
                            elm.setExtensionField3(item.getExtensionField3());//SimpleFieldAssign//sourceId:61264_2
                            elm.setExtensionField4(item.getExtensionField4());//SimpleFieldAssign//sourceId:199691_2
                            elm.setConfOptionRshipId(item.getConfOptionRshipId());//SimpleFieldAssign//sourceId:34468_2
                            elm.setIsPlatData("FALSE");//sourceId:34905_2
                            elm.setIsCeResult("FALSE");//sourceId:34906_2
                            elm.setOptionType(item.getOptionType());//SimpleFieldAssign//sourceId:34469_2
                            elm.setResultType(item.getResultType());//SimpleFieldAssign//sourceId:34470_2
                            elm.setIsSingleResult(item.getIsSingleResult());//SimpleFieldAssign//sourceId:58171_2
                            elm.setOptionThrowPlace(item.getOptionThrowPlace());//SimpleFieldAssign//sourceId:89881_2
                            elm.setConfOptionSortNum(item.getConfOptionSortNum());//SimpleFieldAssign//sourceId:61265_2
                            elm.setConfOptionCode(item.getConfOptionCode());//SimpleFieldAssign//sourceId:44503_2
                            elm.setConfOptionName(item.getConfOptionName());//SimpleFieldAssign//sourceId:44504_2
                            elm.setConfItemCode(item.getConfItemCode());//SimpleFieldAssign//sourceId:34805_2
                            elm.setShortName(item.getShortName());//SimpleFieldAssign//sourceId:44525_2
                            elm.setConfItemClassCode(item.getConfItemClassCode());//SimpleFieldAssign//sourceId:50852_2
                            elm.setConfItemClassName(item.getConfItemClassName());//SimpleFieldAssign//sourceId:57009_2
                            elm.setConfSchemeId(item.getConfSchemeId());//SimpleFieldAssign//sourceId:34909_2
                            elm.setConfSchemeCode(item.getConfSchemeCode());//SimpleFieldAssign//sourceId:34910_2
                            elm.setConfSchemeName(item.getConfSchemeName());//SimpleFieldAssign//sourceId:57010_2
                            elm.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:34911_2
                            if (finalOmsConfApplexRel != null) {
                                elm.setSchOpenRecordId(finalOmsConfApplexRel.getSchOpenRecordId());//两个数组关联数量不一致; 导致逐个赋值; 有概率付错值; //SimpleFieldAssign//sourceId:94984_2
                                elm.setResultAspObjType(finalOmsConfApplexRel.getApplexType());//两个数组关联数量不一致; 导致逐个赋值; 有概率付错值; //SimpleFieldAssign//sourceId:34907_2
                                elm.setResultAspObjId(finalOmsConfApplexRel.getApplexId());//两个数组关联数量不一致; 导致逐个赋值; 有概率付错值; //SimpleFieldAssign//sourceId:34908_2
                                elm.setAuthorizationKeyTypeCode(finalOmsConfApplexRel.getAuthorizationKeyTypeCode());//两个数组关联数量不一致; 导致逐个赋值; 有概率付错值; //SimpleFieldAssign//sourceId:199692_2
                            }
                            if (reqDto != null) {
                                elm.setApplexRelId(reqDto.getApplexRelId());//两个数组关联数量不一致; 导致逐个赋值; 有概率付错值; //SimpleFieldAssign//sourceId:94985_2
                                elm.setClassConfItemId(reqDto.getClassConfItemId());//两个数组关联数量不一致; 导致逐个赋值; 有概率付错值; //SimpleFieldAssign//sourceId:94520_2
                            }
                            if (finalOmsConfScheme != null) {
                                elm.setIsInitialScheme(finalOmsConfScheme.getIsInitialScheme());//两个数组关联数量不一致; 导致逐个赋值; 有概率付错值; //SimpleFieldAssign//sourceId:57086_2
                            }
                            return elm;
                        }).collect(Collectors.toList());//objList-to-objLists//sourceId:62167_1
            }

            /*2-3-07批量克隆选项标准答案[2129]   */

            bOOLEAN_1 = mOmsConfSchemeOptionResultService.batchAddOpenConfItemResult(listOmsConfSchemeOptionResult_5)/*vcase invoke 本地 method 方法调用;*/;


        }

        ResetOpenConfItemResultRespDto retData = new ResetOpenConfItemResultRespDto();


        return retData;
    }

    /**
     * D2-3设置定制结果[5407]
     * gen by moon at 5/26/2023, 5:45:08 PM
     */
    @Trace(operationName = "D2-3设置定制结果")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public SetOpenConfItemResultRespDto setOpenConfItemResult(SetOpenConfItemResultReqDto reqDto) {


        //virtualUsage 2-3-13查询应用实例配置关系详情  23899
        OmsConfApplexRel omsConfApplexRel = null;
        QueryApplexConrelDetailReq queryApplexConrelDetailReq = new QueryApplexConrelDetailReq();
        queryApplexConrelDetailReq.setIsArchive("FALSE");//sourceId:489839_1_23899
        if (reqDto != null) {
            queryApplexConrelDetailReq.setApplexRelId(reqDto.getApplexRelId());//SimpleFieldAssign//sourceId:489679_1_23899
        }

        /*2-3-13查询应用实例配置关系详情[2122]   */
        Assert.isNull(queryApplexConrelDetailReq.getApplexRelId(), "D2-3设置定制结果-2-3-13查询应用实例配置关系详情-开通对象使用关系ID不能为空", false);
        Assert.isNull(queryApplexConrelDetailReq.getIsArchive(), "D2-3设置定制结果-2-3-13查询应用实例配置关系详情-是否存档不能为空", false);
        omsConfApplexRel = mOmsConfApplexRelService.queryApplexConrelDetail(queryApplexConrelDetailReq)/*vcase invoke 本地 method 方法调用;*/;


//virtualUsage 2-3-07查题目原克隆答案  23902
        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult = new ArrayList<>();
        QueryConfItemResultListReq queryConfItemResultListReq = new QueryConfItemResultListReq();
        if (reqDto != null) {
            queryConfItemResultListReq.setApplexRelId(reqDto.getApplexRelId());//SimpleFieldAssign//sourceId:489852_1_23902
            queryConfItemResultListReq.setClassConfItemId(reqDto.getClassConfItemId());//SimpleFieldAssign//sourceId:489853_1_23902
        }

        /*2-3-07查题目原克隆答案[1940]   */
        Assert.isNull(queryConfItemResultListReq.getApplexRelId(), "D2-3设置定制结果-2-3-07查题目原克隆答案-使用关系ID不能为空", false);
        Assert.isNull(queryConfItemResultListReq.getClassConfItemId(), "D2-3设置定制结果-2-3-07查题目原克隆答案-配置项关系ID不能为空", false);
        listOmsConfSchemeOptionResult = mOmsConfSchemeOptionResultService.queryConfItemResultList(queryConfItemResultListReq)/*vcase invoke 本地 method 方法调用;*/;


        if ((listOmsConfSchemeOptionResult != null && listOmsConfSchemeOptionResult != null && listOmsConfSchemeOptionResult.size() > 0)) {
            //if(2-3-07查题目原克隆答案.配置方案下选项配置结果列表数据集条数 大于 0)  23903

            boolean bOOLEAN;
            if (listOmsConfSchemeOptionResult != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult) && listOmsConfSchemeOptionResult.size() > 0) {
                List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult_2 = new ArrayList<>();
                if (listOmsConfSchemeOptionResult != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult) && listOmsConfSchemeOptionResult != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult)) {
                    listOmsConfSchemeOptionResult_2 = //objList-to-objLists
                            listOmsConfSchemeOptionResult.stream().map(item -> {
                                OmsConfSchemeOptionResult elm = new OmsConfSchemeOptionResult();
                                elm.setOptionResultId(item.getOptionResultId());//SimpleFieldAssign//sourceId:209897_2_43157
                                elm.setSubjectLifeCycle("ARCHIVING");//sourceId:209898_2_43157
                                elm.setIsArchive("TRUE");//sourceId:209899_2_43157
                                return elm;
                            }).collect(Collectors.toList());//objList-to-objLists//sourceId:985711_1_43157
                }

                /*2-3-07批量存档克隆答案[6655]   */

                bOOLEAN = mOmsConfSchemeOptionResultService.batchUpdateCloneResult(listOmsConfSchemeOptionResult_2)/*vcase invoke 本地 method 方法调用;*/;


            }
        }
//virtualUsage D2-3新增单题答案  23905
        AddConfItemResultComRespDto addConfItemResultComRespDto = null;
        if (omsConfApplexRel != null) {
            AddConfItemResultComReqDto addConfItemResultComReqDto = new AddConfItemResultComReqDto();
            addConfItemResultComReqDto.setIsPlatData("FALSE");//sourceId:489767_1_23905
            addConfItemResultComReqDto.setIsCeResult("TRUE");//sourceId:489768_1_23905
            addConfItemResultComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:489769_1_23905
            if (reqDto != null && reqDto.getConfItemResultList() != null && !CollectionUtil.isEmpty(reqDto.getConfItemResultList())) {
                addConfItemResultComReqDto.setConfItemResultList(reqDto.getConfItemResultList().stream().map(item -> BeanUtil.toBean(item, ConfItemResultDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:489770_1_23905
            }
            if (reqDto != null) {
                addConfItemResultComReqDto.setApplexRelId(reqDto.getApplexRelId());//SimpleFieldAssign//sourceId:489771_1_23905
                addConfItemResultComReqDto.setClassConfItemId(reqDto.getClassConfItemId());//SimpleFieldAssign//sourceId:489765_1_23905
            }
            if (omsConfApplexRel != null) {
                addConfItemResultComReqDto.setSchOpenRecordId(omsConfApplexRel.getSchOpenRecordId());//SimpleFieldAssign//sourceId:489772_1_23905
                addConfItemResultComReqDto.setResultAspObjId(omsConfApplexRel.getApplexId());//SimpleFieldAssign//sourceId:489766_1_23905
            }

            /*D2-3新增单题答案[4164]   */
            Assert.isNull(addConfItemResultComReqDto.getApplexRelId(), "D2-3设置定制结果-D2-3新增单题答案-使用关系ID不能为空", false);
            Assert.isNull(addConfItemResultComReqDto.getSchOpenRecordId(), "D2-3设置定制结果-D2-3新增单题答案-开通钥匙ID不能为空", false);
            Assert.isNull(addConfItemResultComReqDto.getClassConfItemId(), "D2-3设置定制结果-D2-3新增单题答案-配置项关系ID不能为空", false);
            Assert.isNull(addConfItemResultComReqDto.getResultAspObjId(), "D2-3设置定制结果-D2-3新增单题答案-开通对象ID不能为空", false);
            Assert.isNull(addConfItemResultComReqDto.getIsPlatData(), "D2-3设置定制结果-D2-3新增单题答案-是否标准答案不能为空", false);
            Assert.isNull(addConfItemResultComReqDto.getIsCeResult(), "D2-3设置定制结果-D2-3新增单题答案-是否定制结果不能为空", false);
            Assert.isNull(addConfItemResultComReqDto.getSubjectLifeCycle(), "D2-3设置定制结果-D2-3新增单题答案-主体生命周期不能为空", false);
            addConfItemResultComRespDto = addConfItemResultCom(addConfItemResultComReqDto)/*vcase invoke 同服务,同domain*/;


        }
//processBranchName:正常结束 ,processBranchId:23906

        SetOpenConfItemResultRespDto retData = new SetOpenConfItemResultRespDto();


        return retData;
    }

    /**
     * D2-3查询过滤已开通方案列表[2114]
     * gen by moon at 2022/7/3 下午5:10:45
     */
    @Trace(operationName = "D2-3查询过滤已开通方案列表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryFilterSchemeOpenListRespDto queryFilterSchemeOpenList(QueryFilterSchemeOpenListReqDto reqDto) {


        //步骤0: 2-3-04查询配置方案列表 - queryConfSchemeList
        List<OmsConfScheme> listOmsConfScheme = null;
        QueryConfSchemeListReq queryConfSchemeListReq = new QueryConfSchemeListReq();
        queryConfSchemeListReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:61208_1
        if (reqDto != null) {
            queryConfSchemeListReq.setConfSchemeName(reqDto.getConfSchemeName());//sourceId:61211_1
            queryConfSchemeListReq.setConfSchemeTypeCode(reqDto.getConfSchemeTypeCode());//sourceId:61204_1
            queryConfSchemeListReq.setApplObjType(reqDto.getApplObjType());//sourceId:61202_1
            queryConfSchemeListReq.setIsInitialScheme(reqDto.getIsInitialScheme());//sourceId:61205_1
        }

        /*2-3-04查询配置方案列表[1924]   */
        listOmsConfScheme = mOmsConfSchemeService.queryConfSchemeList(queryConfSchemeListReq);


//步骤1: 2-3-12查询方案开通记录列表 - querySchemeOpenRecordList
        List<OmsSchemeOpenRecord> listOmsSchemeOpenRecord = null;
        QuerySchemeOpenRecordListReq querySchemeOpenRecordListReq = new QuerySchemeOpenRecordListReq();
        querySchemeOpenRecordListReq.setIsArchive("FALSE");//sourceId:61219_1
        if (reqDto != null) {
            querySchemeOpenRecordListReq.setTenantSpaceId(reqDto.getTenantSpaceId());//sourceId:61217_1
        }

        /*2-3-12查询方案开通记录列表[1955]   */
        listOmsSchemeOpenRecord = mOmsSchemeOpenRecordService.querySchemeOpenRecordList(querySchemeOpenRecordListReq);


//步骤2: M-过滤已开通方案(特殊方法） - checkFilterSchemeOpen
        //ModelCode: collectionRemoveExistingData
        CheckFilterSchemeOpenRespDto collectionRemoveExistingDataRes = null;
        if (listOmsConfScheme != null && listOmsConfScheme.size() > 0) {
            CheckFilterSchemeOpenReqDto collectionRemoveExistingDataReq = new CheckFilterSchemeOpenReqDto();
            collectionRemoveExistingDataReq.setConfSchemeList(listOmsConfScheme.stream().map(item -> BeanUtil.toBean(item, ConfSchemeDto.class)).collect(Collectors.toList()));//sourceId:61224_1
            collectionRemoveExistingDataReq.setSchemeOpenRecordList(listOmsSchemeOpenRecord.stream().map(item -> item.getConfSchemeId())
                    .collect(Collectors.toList()));//sourceId:61225_1

            /*M-过滤已开通方案(特殊方法）[2115]  入参两个数据集，通过已存在标识字段匹配，去除第一个数据集中已存在的第二个数据集的数据 */
            collectionRemoveExistingDataRes = nbConfScheme.checkFilterSchemeOpen(collectionRemoveExistingDataReq);


        }

        QueryFilterSchemeOpenListRespDto retData = new QueryFilterSchemeOpenListRespDto();
        // TODO: 2022/7/20 晓东:需要判空
        if (collectionRemoveExistingDataRes != null && collectionRemoveExistingDataRes.getConfSchemeList() != null) {
            retData.setConfSchemeList(collectionRemoveExistingDataRes.getConfSchemeList());//sourceId:61232_1
        }

        return retData;
    }

    /**
     * D2-3修改配置项[2060]
     * gen by moon at 5/29/2023, 2:05:49 PM
     */
    @Trace(operationName = "D2-3修改配置项")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public UpdateConfItemRespDto updateConfItem(UpdateConfItemReqDto reqDto) {


        //步骤0: 2-3-02修改配置项 - updateConfItem
        boolean bOOLEAN;
        OmsConfItem omsConfItem = new OmsConfItem();
        if (reqDto != null) {
            omsConfItem.setConfItemId(reqDto.getConfItemId());//SimpleFieldAssign//sourceId:60077_1
            omsConfItem.setConfItemCode(reqDto.getConfItemCode());//SimpleFieldAssign//sourceId:60078_1
            omsConfItem.setConfItemName(reqDto.getConfItemName());//SimpleFieldAssign//sourceId:60079_1
            omsConfItem.setShortName(reqDto.getShortName());//SimpleFieldAssign//sourceId:60080_1
            omsConfItem.setConfItemDes(reqDto.getConfItemDes());//SimpleFieldAssign//sourceId:60081_1
            omsConfItem.setApplyTypeCode(reqDto.getApplyTypeCode());//SimpleFieldAssign//sourceId:60082_1
            omsConfItem.setConfItemCategory(reqDto.getConfItemCategory());//SimpleFieldAssign//sourceId:60083_1
            omsConfItem.setIsVisible(reqDto.getIsVisible());//SimpleFieldAssign//sourceId:60085_1
            omsConfItem.setIsSingleResult(reqDto.getIsSingleResult());//SimpleFieldAssign//sourceId:106300_1
            omsConfItem.setIsOpenCustomConf(reqDto.getIsOpenCustomConf());//SimpleFieldAssign//sourceId:60086_1
            omsConfItem.setIsSwitch(reqDto.getIsSwitch());//SimpleFieldAssign//sourceId:60087_1
            omsConfItem.setIsBusiness(reqDto.getIsBusiness());//SimpleFieldAssign//sourceId:60088_1
            omsConfItem.setIsAllowUpdateAnswer(reqDto.getIsAllowUpdateAnswer());//SimpleFieldAssign//sourceId:116051_1
            omsConfItem.setBizAppCode(reqDto.getBizAppCode());//SimpleFieldAssign//sourceId:990442_1
            omsConfItem.setBizSceneCode(reqDto.getBizSceneCode());//SimpleFieldAssign//sourceId:990443_1
        }

        /*2-3-02修改配置项[1907]   */
        Assert.isNull(omsConfItem.getConfItemId(), "D2-3修改配置项-2-3-02修改配置项-配置项ID不能为空", false);
        bOOLEAN = mOmsConfItemService.updateConfItem(omsConfItem)/*vcase invoke 本地 method 方法调用;*/;


        UpdateConfItemRespDto retData = new UpdateConfItemRespDto();


        return retData;
    }

    /**
     * D2-3存档配置项[2054]
     * gen by moon at 2022/7/3 下午5:11:23
     */
    @Trace(operationName = "D2-3存档配置项")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public ArchiveConfItemRespDto archiveConfItem(ArchiveConfItemReqDto reqDto) {


        //步骤0: 2-3-03查询配置项下选项关系列表 - queryConfItemOptionList
        List<OmsConfItemOptionRelationship> listOmsConfItemOptionRelationship = null;
        QueryConfItemOptionListReq queryConfItemOptionListReq = new QueryConfItemOptionListReq();
        queryConfItemOptionListReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:103821_1
        if (reqDto != null) {
            queryConfItemOptionListReq.setConfItemId(reqDto.getConfItemId());//sourceId:62619_1
        }

        /*2-3-03查询配置项下选项关系列表[1918]   */
        listOmsConfItemOptionRelationship = mOmsConfItemOptionRelationshipService.queryConfItemOptionList(queryConfItemOptionListReq);


//步骤1: 2-3-03批量修改配置项下选项关系 - batchUpdateConfItemOption
        boolean bOOLEAN;
        if (listOmsConfItemOptionRelationship != null && listOmsConfItemOptionRelationship.size() > 0) {
            List<OmsConfItemOptionRelationship> listOmsConfItemOptionRelationship_2 = new ArrayList<>();
            for (OmsConfItemOptionRelationship item : listOmsConfItemOptionRelationship) {
                OmsConfItemOptionRelationship oneItem = new OmsConfItemOptionRelationship();
                oneItem.setConfOptionRshipId(item.getConfOptionRshipId());//sourceId:32916_2
                oneItem.setSubjectLifeCycle("ARCHIVING");//sourceId:56900_2
                oneItem.setIsArchive("TRUE");//sourceId:56901_2

                listOmsConfItemOptionRelationship_2.add(oneItem);
            }//sourceId:59913_1

            /*2-3-03批量修改配置项下选项关系（存档）[2044]   */
            bOOLEAN = mOmsConfItemOptionRelationshipService.batchUpdateConfItemOption(listOmsConfItemOptionRelationship_2);


        }

//步骤2: 2-3-02修改配置项 - updateConfItem
        boolean bOOLEAN_1;
        OmsConfItem omsConfItem = new OmsConfItem();
        omsConfItem.setSubjectLifeCycle("ARCHIVING");//sourceId:59929_1
        omsConfItem.setIsArchive("TRUE");//sourceId:59928_1
        if (reqDto != null) {
            omsConfItem.setConfItemId(reqDto.getConfItemId());//sourceId:59916_1
        }

        /*2-3-02修改配置项（存档）[1907]   */
        bOOLEAN_1 = mOmsConfItemService.updateConfItem(omsConfItem);


        ArchiveConfItemRespDto retData = new ArchiveConfItemRespDto();


        return retData;
    }

    /**
     * D2-3查询配置项详情[2051]
     * gen by moon at 10/26/2022, 12:19:03 AM
     */
    @Trace(operationName = "D2-3查询配置项详情")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryConfItemDetailRespDto queryConfItemDetail(QueryConfItemDetailReqDto reqDto) {


        OmsConfItem omsConfItem_1 = null;
        OmsConfItem omsConfItem_3 = null;
//步骤0: 2-3-02查询配置项详情 - queryConfItemDetail
        OmsConfItem omsConfItem = null;
        QueryConfItemDetailReq queryConfItemDetailReq = new QueryConfItemDetailReq();
        if (reqDto != null) {
            queryConfItemDetailReq.setConfItemId(reqDto.getConfItemId());//SimpleFieldAssign//sourceId:59749_1
            queryConfItemDetailReq.setIsArchive(reqDto.getIsArchive());//SimpleFieldAssign//sourceId:103789_1
        }

        /*2-3-02查询配置项详情[1905]   */
        Assert.isNull(queryConfItemDetailReq.getConfItemId(), "D2-3查询配置项详情-2-3-02查询配置项详情-配置项ID不能为空", false);
        omsConfItem = mOmsConfItemService.queryConfItemDetail(queryConfItemDetailReq);


        omsConfItem_1 = omsConfItem;

//步骤1: 2-3-02查询配置项详情 - queryConfItemDetail
        OmsConfItem omsConfItem_2 = null;
        QueryConfItemDetailReq queryConfItemDetailReq_1 = new QueryConfItemDetailReq();
        queryConfItemDetailReq_1.setCreateInductionId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecInductionRecordId());//CURRENT_INDUCTIONID//sourceId:60242_1
        if (reqDto != null) {
            queryConfItemDetailReq_1.setConfItemId(reqDto.getConfItemId());//SimpleFieldAssign//sourceId:60325_1
        }

        /*2-3-02查询配置项详情（查创建人与当前操作人是否相同）[1905]   */
        Assert.isNull(queryConfItemDetailReq_1.getConfItemId(), "D2-3查询配置项详情-2-3-02查询配置项详情（查创建人与当前操作人是否相同）-配置项ID不能为空", false);
        Assert.isNull(queryConfItemDetailReq_1.getCreateInductionId(), "D2-3查询配置项详情-2-3-02查询配置项详情（查创建人与当前操作人是否相同）-创建人就职记录ID不能为空", false);
        omsConfItem_2 = mOmsConfItemService.queryConfItemDetail(queryConfItemDetailReq_1);


        omsConfItem_3 = omsConfItem_2;

        QueryConfItemDetailRespDto retData = new QueryConfItemDetailRespDto();
        if (omsConfItem_1 != null) {
            retData.setConfItemId(omsConfItem_1.getConfItemId());//SimpleFieldAssign//sourceId:59775_1
            retData.setConfItemCode(omsConfItem_1.getConfItemCode());//SimpleFieldAssign//sourceId:59776_1
            retData.setConfItemName(omsConfItem_1.getConfItemName());//SimpleFieldAssign//sourceId:59777_1
            retData.setShortName(omsConfItem_1.getShortName());//SimpleFieldAssign//sourceId:59778_1
            retData.setConfItemDes(omsConfItem_1.getConfItemDes());//SimpleFieldAssign//sourceId:59779_1
            retData.setApplyTypeCode(omsConfItem_1.getApplyTypeCode());//SimpleFieldAssign//sourceId:59780_1
            retData.setConfItemCategory(omsConfItem_1.getConfItemCategory());//SimpleFieldAssign//sourceId:59781_1
            retData.setBizAppCode(omsConfItem_1.getBizAppCode());//SimpleFieldAssign//sourceId:59782_1
            retData.setBizSceneCode(omsConfItem_1.getBizSceneCode());//SimpleFieldAssign//sourceId:388670_1
            retData.setIsSingleResult(omsConfItem_1.getIsSingleResult());//SimpleFieldAssign//sourceId:106306_1
            retData.setIsVisible(omsConfItem_1.getIsVisible());//SimpleFieldAssign//sourceId:59783_1
            retData.setIsOpenCustomConf(omsConfItem_1.getIsOpenCustomConf());//SimpleFieldAssign//sourceId:59784_1
            retData.setIsSwitch(omsConfItem_1.getIsSwitch());//SimpleFieldAssign//sourceId:59785_1
            retData.setIsBusiness(omsConfItem_1.getIsBusiness());//SimpleFieldAssign//sourceId:59786_1
            retData.setIsAllowUpdateAnswer(omsConfItem_1.getIsAllowUpdateAnswer());//SimpleFieldAssign//sourceId:143624_1
            retData.setIsTemporaryLock(omsConfItem_1.getIsTemporaryLock());//SimpleFieldAssign//sourceId:59901_1
            retData.setSubjectLifeCycle(omsConfItem_1.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:59788_1
            retData.setOperationInductionId(omsConfItem_1.getOperationInductionId());//SimpleFieldAssign//sourceId:59789_1
            retData.setOperateTime(omsConfItem_1.getOperateTime());//SimpleFieldAssign//sourceId:59790_1
        }
        if (omsConfItem_3 != null) {
            retData.setCreateInductionId(omsConfItem_3.getCreateInductionId());//SimpleFieldAssign//sourceId:60244_1
        }


        return retData;
    }

    /**
     * D2-3存档配置方案[2049]
     * gen by moon at 2022/7/3 下午5:11:34
     */
    @Trace(operationName = "D2-3存档配置方案")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public ArchiveConfSchemeRespDto archiveConfScheme(ArchiveConfSchemeReqDto reqDto) {


        //步骤0: 2-3-04修改配置方案 - updateConfScheme
        boolean bOOLEAN;
        OmsConfScheme omsConfScheme = new OmsConfScheme();
        omsConfScheme.setSubjectLifeCycle("ARCHIVING");//sourceId:59700_1
        omsConfScheme.setIsArchive("TRUE");//sourceId:59701_1
        if (reqDto != null) {
            omsConfScheme.setConfSchemeId(reqDto.getConfSchemeId());//sourceId:59699_1
        }

        /*2-3-04修改配置方案（存档）[1921]   */
        bOOLEAN = mOmsConfSchemeService.updateConfScheme(omsConfScheme);


        ArchiveConfSchemeRespDto retData = new ArchiveConfSchemeRespDto();


        return retData;
    }

    /**
     * D2-3新增配置项[2034]
     * gen by moon at 10/24/2022, 9:41:22 PM
     */
    @Trace(operationName = "D2-3新增配置项")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public AddConfItemRespDto addConfItem(AddConfItemReqDto reqDto) {


        String string_1 = null;
//virtualUsage 2-3-02查询配置项详情  19175
        OmsConfItem omsConfItem = null;
        QueryConfItemDetailReq queryConfItemDetailReq = new QueryConfItemDetailReq();
        queryConfItemDetailReq.setIsArchive("FALSE");//sourceId:374450_1_19175
        if (reqDto != null) {
            queryConfItemDetailReq.setConfItemCode(reqDto.getConfItemCode());//SimpleFieldAssign//sourceId:374449_1_19175
        }

        /*2-3-02查询配置项详情[1905]   */
        Assert.isNull(queryConfItemDetailReq.getConfItemCode(), "D2-3新增配置项-2-3-02查询配置项详情-配置项标识不能为空", false);
        Assert.isNull(queryConfItemDetailReq.getIsArchive(), "D2-3新增配置项-2-3-02查询配置项详情-是否存档不能为空", false);
        omsConfItem = mOmsConfItemService.queryConfItemDetail(queryConfItemDetailReq);


        if ((omsConfItem == null)) {
            //if(2-3-02查询配置项详情.出参 值等于空 )  19176

            String string = null;
            OmsConfItem omsConfItem_2 = new OmsConfItem();
            if (reqDto != null) {
                omsConfItem_2.setConfItemCode(reqDto.getConfItemCode());//SimpleFieldAssign//sourceId:59448_1_19177
                omsConfItem_2.setConfItemName(reqDto.getConfItemName());//SimpleFieldAssign//sourceId:59449_1_19177
                omsConfItem_2.setShortName(reqDto.getShortName());//SimpleFieldAssign//sourceId:59450_1_19177
                omsConfItem_2.setConfItemDes(reqDto.getConfItemDes());//SimpleFieldAssign//sourceId:59451_1_19177
                omsConfItem_2.setApplyTypeCode(reqDto.getApplyTypeCode());//SimpleFieldAssign//sourceId:59452_1_19177
                omsConfItem_2.setConfItemCategory(reqDto.getConfItemCategory());//SimpleFieldAssign//sourceId:59453_1_19177
                omsConfItem_2.setBizAppCode(reqDto.getBizAppCode());//SimpleFieldAssign//sourceId:59454_1_19177
                omsConfItem_2.setBizSceneCode(reqDto.getBizSceneCode());//SimpleFieldAssign//sourceId:388653_1_19177
                omsConfItem_2.setIsVisible(reqDto.getIsVisible());//SimpleFieldAssign//sourceId:59455_1_19177
                omsConfItem_2.setIsSingleResult(reqDto.getIsSingleResult());//SimpleFieldAssign//sourceId:106295_1_19177
                omsConfItem_2.setIsOpenCustomConf(reqDto.getIsOpenCustomConf());//SimpleFieldAssign//sourceId:59456_1_19177
                omsConfItem_2.setIsSwitch(reqDto.getIsSwitch());//SimpleFieldAssign//sourceId:136401_1_19177
                omsConfItem_2.setIsBusiness(reqDto.getIsBusiness());//SimpleFieldAssign//sourceId:59458_1_19177
                omsConfItem_2.setIsAllowUpdateAnswer(reqDto.getIsAllowUpdateAnswer());//SimpleFieldAssign//sourceId:116046_1_19177
                omsConfItem_2.setIsTemporaryLock(reqDto.getIsTemporaryLock());//SimpleFieldAssign//sourceId:103553_1_19177
            }

            /*2-3-02新增配置项[1903]   */
            Assert.isNull(omsConfItem_2.getConfItemCode(), "D2-3新增配置项-2-3-02新增配置项-配置项标识不能为空", false);
            Assert.isNull(omsConfItem_2.getConfItemName(), "D2-3新增配置项-2-3-02新增配置项-配置项名称不能为空", false);
            Assert.isNull(omsConfItem_2.getShortName(), "D2-3新增配置项-2-3-02新增配置项-配置项简称不能为空", false);
            Assert.isNull(omsConfItem_2.getApplyTypeCode(), "D2-3新增配置项-2-3-02新增配置项-适用方案类型不能为空", false);
            Assert.isNull(omsConfItem_2.getConfItemCategory(), "D2-3新增配置项-2-3-02新增配置项-选项类型不能为空", false);
            Assert.isNull(omsConfItem_2.getBizAppCode(), "D2-3新增配置项-2-3-02新增配置项-归属业务应用标识不能为空", false);
            Assert.isNull(omsConfItem_2.getBizSceneCode(), "D2-3新增配置项-2-3-02新增配置项-归属业务场景标识不能为空", false);
            Assert.isNull(omsConfItem_2.getIsSingleResult(), "D2-3新增配置项-2-3-02新增配置项-是否单一结果不能为空", false);
            Assert.isNull(omsConfItem_2.getIsOpenCustomConf(), "D2-3新增配置项-2-3-02新增配置项-是否开启自定义配置不能为空", false);
            Assert.isNull(omsConfItem_2.getIsBusiness(), "D2-3新增配置项-2-3-02新增配置项-是否商业参数不能为空", false);
            Assert.isNull(omsConfItem_2.getIsAllowUpdateAnswer(), "D2-3新增配置项-2-3-02新增配置项-结果是否允许二次设置不能为空", false);
            Assert.isNull(omsConfItem_2.getIsTemporaryLock(), "D2-3新增配置项-2-3-02新增配置项-临时自动锁定不能为空", false);
            string = mOmsConfItemService.addConfItem(omsConfItem_2);


            string_1 = string;
//processBranchName:正常结束 ,processBranchId:19178

        } else {
            //else  19179

//异常结束 19181
            throw new BizException("C00116", "对不起！已存在~！", false);
        }
        AddConfItemRespDto retData = new AddConfItemRespDto();
        if (string_1 != null) {
            retData.setConfItemId(string_1);//SimpleFieldAssign//sourceId:59472_1
        }


        return retData;
    }

    /**
     * D2-3设置方案下选项配置结果[2029]
     * gen by moon at 6/18/2024, 1:54:26 AM
     */
    @Trace(operationName = "D2-3设置方案下选项配置结果")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public SetConfSchemeItemResultRespDto setConfSchemeItemResult(SetConfSchemeItemResultReqDto reqDto) {


        //virtualUsage 2-3-06查询配置项关系详情  23898
        OmsConfClassItem omsConfClassItem = null;
        QueryConfClassItemDetailReq queryConfClassItemDetailReq = new QueryConfClassItemDetailReq();
        queryConfClassItemDetailReq.setIsArchive("FALSE");//sourceId:489729_1_23898
        if (reqDto != null) {
            queryConfClassItemDetailReq.setClassConfItemId(reqDto.getClassConfItemId());//SimpleFieldAssign//sourceId:489705_1_23898
        }

        /*2-3-06查询配置项关系详情[1933]   */
        Assert.isNull(queryConfClassItemDetailReq.getClassConfItemId(), "D2-3设置方案下选项配置结果-2-3-06查询配置项关系详情-配置项关系ID不能为空", false);
        Assert.isNull(queryConfClassItemDetailReq.getIsArchive(), "D2-3设置方案下选项配置结果-2-3-06查询配置项关系详情-是否存档不能为空", false);
        omsConfClassItem = mOmsConfClassItemService.queryConfClassItemDetail(queryConfClassItemDetailReq)/*vcase invoke 本地 method 方法调用;*/;


        //virtualUsage 2-3-07查询方案下选项配置结果列表  2235
        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult = new ArrayList<>();
        if (omsConfClassItem != null) {
            QueryConfItemResultListReq queryConfItemResultListReq = new QueryConfItemResultListReq();
            queryConfItemResultListReq.setIsPlatData("TRUE");//sourceId:314776_1_2235
            if (omsConfClassItem != null) {
                queryConfItemResultListReq.setConfSchemeId(omsConfClassItem.getConfSchemeId());//SimpleFieldAssign//sourceId:461696_1_2235
            }
            if (reqDto != null) {
                queryConfItemResultListReq.setClassConfItemId(reqDto.getClassConfItemId());//SimpleFieldAssign//sourceId:310441_1_2235
            }

            /*2-3-07查询方案下选项配置结果列表[1940]   */
            Assert.isNull(queryConfItemResultListReq.getConfSchemeId(), "D2-3设置方案下选项配置结果-2-3-07查询方案下选项配置结果列表-配置方案ID 不能为空", false);
            Assert.isNull(queryConfItemResultListReq.getClassConfItemId(), "D2-3设置方案下选项配置结果-2-3-07查询方案下选项配置结果列表-配置项关系ID不能为空", false);
            Assert.isNull(queryConfItemResultListReq.getIsPlatData(), "D2-3设置方案下选项配置结果-2-3-07查询方案下选项配置结果列表-是否标准答案不能为空", false);
            listOmsConfSchemeOptionResult = mOmsConfSchemeOptionResultService.queryConfItemResultList(queryConfItemResultListReq)/*vcase invoke 本地 method 方法调用;*/;


        }
        if ((listOmsConfSchemeOptionResult != null && listOmsConfSchemeOptionResult != null && listOmsConfSchemeOptionResult.size() == 0)) {
            //if(2-3-07查询当前题目下是否已有答案.配置方案下选项配置结果列表数据集条数 等于 0)  2236

            AddConfItemResultComRespDto addConfItemResultComRespDto = null;
            AddConfItemResultComReqDto addConfItemResultComReqDto = new AddConfItemResultComReqDto();
            addConfItemResultComReqDto.setIsPlatData("TRUE");//sourceId:310605_1_70159
            addConfItemResultComReqDto.setIsCeResult("FALSE");//sourceId:310606_1_70159
            if (reqDto != null && reqDto.getConfItemResultList() != null && !CollectionUtil.isEmpty(reqDto.getConfItemResultList())) {
                addConfItemResultComReqDto.setConfItemResultList(reqDto.getConfItemResultList().stream().map(item -> BeanUtil.toBean(item, ConfItemResultDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:310601_1_70159
            }
            if (reqDto != null) {
                addConfItemResultComReqDto.setClassConfItemId(reqDto.getClassConfItemId());//SimpleFieldAssign//sourceId:310602_1_70159
                addConfItemResultComReqDto.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:310607_1_70159
            }

            /*D2-3新增方案下选项配置结果(公共)[4164]   */
            Assert.isNull(addConfItemResultComReqDto.getClassConfItemId(), "D2-3设置方案下选项配置结果-D2-3新增方案下选项配置结果(公共)-配置项关系ID不能为空", false);
            Assert.isNull(addConfItemResultComReqDto.getIsPlatData(), "D2-3设置方案下选项配置结果-D2-3新增方案下选项配置结果(公共)-是否标准答案不能为空", false);
            Assert.isNull(addConfItemResultComReqDto.getIsCeResult(), "D2-3设置方案下选项配置结果-D2-3新增方案下选项配置结果(公共)-是否定制结果不能为空", false);
            Assert.isNull(addConfItemResultComReqDto.getSubjectLifeCycle(), "D2-3设置方案下选项配置结果-D2-3新增方案下选项配置结果(公共)-主体生命周期不能为空", false);
            addConfItemResultComRespDto = addConfItemResultCom(addConfItemResultComReqDto)/*vcase invoke 同服务,同domain*/;


        } else if ((listOmsConfSchemeOptionResult != null && listOmsConfSchemeOptionResult != null && listOmsConfSchemeOptionResult.size() > 0)) {
            //elseif(2-3-07查询当前题目下是否已有答案.配置方案下选项配置结果列表数据集条数 大于 0)  70160

            CalculateContentAmountComRespDto calculateContentAmountComRespDto = null;
            CalculateContentAmountComReqDto calculateContentAmountComReqDto = new CalculateContentAmountComReqDto();
            if (reqDto != null && reqDto.getConfItemResultList() != null && !CollectionUtil.isEmpty(reqDto.getConfItemResultList())) {
                calculateContentAmountComReqDto.setContentAmountList(reqDto.getConfItemResultList().stream().map(item -> item.getConfOptionRshipId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1874815_1_70176
            }

            /*D2统计数据集内容条数服务(公共)[3386]   */

            calculateContentAmountComRespDto = statisticalDataService.calculateContentAmountCom(calculateContentAmountComReqDto)/*vcase invoke isSameApp*/;


            CalculateContentAmountComRespDto calculateContentAmountComRespDto_2 = null;
            if (listOmsConfSchemeOptionResult != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult) && listOmsConfSchemeOptionResult.size() > 0) {
                CalculateContentAmountComReqDto calculateContentAmountComReqDto_1 = new CalculateContentAmountComReqDto();
                if (listOmsConfSchemeOptionResult != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult) && listOmsConfSchemeOptionResult != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult)) {
                    calculateContentAmountComReqDto_1.setContentAmountList(listOmsConfSchemeOptionResult.stream().map(item -> item.getOptionResultId())
                            .collect(Collectors.toList()));/*list-to-strings*///sourceId:1874815_1_70177
                }

                /*D2统计数据集内容条数服务(公共)[3386]   */

                calculateContentAmountComRespDto_2 = statisticalDataService.calculateContentAmountCom(calculateContentAmountComReqDto_1)/*vcase invoke isSameApp*/;


            }
            ImplementNumericalContrastMagnitudeComRespDto implementNumericalContrastMagnitudeComRespDto = null;
            if (calculateContentAmountComRespDto != null && calculateContentAmountComRespDto_2 != null) {
                ImplementNumericalContrastMagnitudeComReqDto implementNumericalContrastMagnitudeComReqDto = new ImplementNumericalContrastMagnitudeComReqDto();
                if (calculateContentAmountComRespDto != null) {
                    implementNumericalContrastMagnitudeComReqDto.setCalcPara1(calculateContentAmountComRespDto.getCalcCount() != null ? Double.valueOf(calculateContentAmountComRespDto.getCalcCount()) : null);//SimpleFieldAssign//sourceId:1874812_1_70175
                }
                if (calculateContentAmountComRespDto_2 != null) {
                    implementNumericalContrastMagnitudeComReqDto.setCalcPara2(calculateContentAmountComRespDto_2.getCalcCount() != null ? Double.valueOf(calculateContentAmountComRespDto_2.getCalcCount()) : null);//SimpleFieldAssign//sourceId:1874813_1_70175
                }

                /*D2执行两个数值对比大小(公共)[5551]   */
                Assert.isNull(implementNumericalContrastMagnitudeComReqDto.getCalcPara1(), "D2-3设置方案下选项配置结果-D2执行两个数值对比大小(公共)-计算入参1不能为空", false);
                Assert.isNull(implementNumericalContrastMagnitudeComReqDto.getCalcPara2(), "D2-3设置方案下选项配置结果-D2执行两个数值对比大小(公共)-计算入参2不能为空", false);
                implementNumericalContrastMagnitudeComRespDto = interfaceModeService.implementNumericalContrastMagnitudeCom(implementNumericalContrastMagnitudeComReqDto)/*vcase invoke isSameApp*/;


            }
            if ((implementNumericalContrastMagnitudeComRespDto != null && implementNumericalContrastMagnitudeComRespDto.getNumCompareResult() != null && implementNumericalContrastMagnitudeComRespDto.getNumCompareResult().equals("PRESENT") && reqDto != null && reqDto.getConfItemCategory() != null && reqDto.getConfItemCategory().equals("TEXT"))) {
                //if((D2执行两个数值对比大小(公共).数值比较结果 等于 当前（等于） and D2-3设置方案下选项配置结果.选项类型 等于 填空型))  70178

                boolean bOOLEAN;
                List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult_2 = new ArrayList<>();
                if (reqDto != null && reqDto.getConfItemResultList() != null && !CollectionUtil.isEmpty(reqDto.getConfItemResultList())) {
                    listOmsConfSchemeOptionResult_2 = reqDto.getConfItemResultList().stream().map(item -> BeanUtil.toBean(item, OmsConfSchemeOptionResult.class)).collect(Collectors.toList());//objList-to-objLists//sourceId:1874782_1_70182
                }

                /*2-3-07批量修改方案下选项配置结果[2042]   */

                bOOLEAN = mOmsConfSchemeOptionResultService.batchUpdateConfItemResult(listOmsConfSchemeOptionResult_2)/*vcase invoke 本地 method 方法调用;*/;


            } else if ((reqDto != null && reqDto.getConfItemCategory() != null && reqDto.getConfItemCategory().equals("TEXT")) && (implementNumericalContrastMagnitudeComRespDto != null && implementNumericalContrastMagnitudeComRespDto.getNumCompareResult() != null && implementNumericalContrastMagnitudeComRespDto.getNumCompareResult().equals("BEFORE") || implementNumericalContrastMagnitudeComRespDto != null && implementNumericalContrastMagnitudeComRespDto.getNumCompareResult() != null && implementNumericalContrastMagnitudeComRespDto.getNumCompareResult().equals("LATER"))) {
                //elseif(D2-3设置方案下选项配置结果.选项类型 等于 填空型 and (D2执行两个数值对比大小(公共).数值比较结果 等于 之前（小于） or D2执行两个数值对比大小(公共).数值比较结果 等于 之后（大于）))  70180

                boolean bOOLEAN_1;
                if (listOmsConfSchemeOptionResult != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult) && listOmsConfSchemeOptionResult.size() > 0) {
                    List<String> listString = new ArrayList<>();
                    if (listOmsConfSchemeOptionResult != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult) && listOmsConfSchemeOptionResult != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult)) {
                        listString = listOmsConfSchemeOptionResult.stream().map(item -> item.getOptionResultId())
                                .collect(Collectors.toList());/*list-to-strings*///sourceId:59066_1_70183
                    }

                    /*2-03-07批量删除方案下选项配置结果[1988]   */

                    bOOLEAN_1 = mOmsConfSchemeOptionResultService.batchDeleteConfItemResult(listString)/*vcase invoke 本地 method 方法调用;*/;


                }
                AddConfItemResultComRespDto addConfItemResultComRespDto_1 = null;
                AddConfItemResultComReqDto addConfItemResultComReqDto_1 = new AddConfItemResultComReqDto();
                addConfItemResultComReqDto_1.setIsPlatData("TRUE");//sourceId:310605_1_70185
                addConfItemResultComReqDto_1.setIsCeResult("FALSE");//sourceId:310606_1_70185
                if (reqDto != null && reqDto.getConfItemResultList() != null && !CollectionUtil.isEmpty(reqDto.getConfItemResultList())) {
                    addConfItemResultComReqDto_1.setConfItemResultList(reqDto.getConfItemResultList().stream().map(item -> BeanUtil.toBean(item, ConfItemResultDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:310601_1_70185
                }
                if (reqDto != null) {
                    addConfItemResultComReqDto_1.setClassConfItemId(reqDto.getClassConfItemId());//SimpleFieldAssign//sourceId:310602_1_70185
                    addConfItemResultComReqDto_1.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:310607_1_70185
                }

                /*D2-3新增方案下选项配置结果(公共)[4164]   */
                Assert.isNull(addConfItemResultComReqDto_1.getClassConfItemId(), "D2-3设置方案下选项配置结果-D2-3新增方案下选项配置结果(公共)-配置项关系ID不能为空", false);
                Assert.isNull(addConfItemResultComReqDto_1.getIsPlatData(), "D2-3设置方案下选项配置结果-D2-3新增方案下选项配置结果(公共)-是否标准答案不能为空", false);
                Assert.isNull(addConfItemResultComReqDto_1.getIsCeResult(), "D2-3设置方案下选项配置结果-D2-3新增方案下选项配置结果(公共)-是否定制结果不能为空", false);
                Assert.isNull(addConfItemResultComReqDto_1.getSubjectLifeCycle(), "D2-3设置方案下选项配置结果-D2-3新增方案下选项配置结果(公共)-主体生命周期不能为空", false);
                addConfItemResultComRespDto_1 = addConfItemResultCom(addConfItemResultComReqDto_1)/*vcase invoke 同服务,同domain*/;


            } else if ((reqDto != null && reqDto.getConfItemCategory() != null && reqDto.getConfItemCategory().equals("RADIO") || reqDto != null && reqDto.getConfItemCategory() != null && reqDto.getConfItemCategory().equals("MULTIPLE"))) {
                //elseif((D2-3设置方案下选项配置结果.选项类型 等于 单选型 or D2-3设置方案下选项配置结果.选项类型 等于 多选型))  70181

                boolean bOOLEAN_2;
                if (listOmsConfSchemeOptionResult != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult) && listOmsConfSchemeOptionResult.size() > 0) {
                    List<String> listString_1 = new ArrayList<>();
                    if (listOmsConfSchemeOptionResult != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult) && listOmsConfSchemeOptionResult != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult)) {
                        listString_1 = listOmsConfSchemeOptionResult.stream().map(item -> item.getOptionResultId())
                                .collect(Collectors.toList());/*list-to-strings*///sourceId:59066_1_70184
                    }

                    /*2-03-07批量删除方案下选项配置结果[1988]   */

                    bOOLEAN_2 = mOmsConfSchemeOptionResultService.batchDeleteConfItemResult(listString_1)/*vcase invoke 本地 method 方法调用;*/;


                }
                AddConfItemResultComRespDto addConfItemResultComRespDto_2 = null;
                AddConfItemResultComReqDto addConfItemResultComReqDto_2 = new AddConfItemResultComReqDto();
                addConfItemResultComReqDto_2.setIsPlatData("TRUE");//sourceId:310605_1_70186
                addConfItemResultComReqDto_2.setIsCeResult("FALSE");//sourceId:310606_1_70186
                if (reqDto != null && reqDto.getConfItemResultList() != null && !CollectionUtil.isEmpty(reqDto.getConfItemResultList())) {
                    addConfItemResultComReqDto_2.setConfItemResultList(reqDto.getConfItemResultList().stream().map(item -> BeanUtil.toBean(item, ConfItemResultDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:310601_1_70186
                }
                if (reqDto != null) {
                    addConfItemResultComReqDto_2.setClassConfItemId(reqDto.getClassConfItemId());//SimpleFieldAssign//sourceId:310602_1_70186
                    addConfItemResultComReqDto_2.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:310607_1_70186
                }

                /*D2-3新增方案下选项配置结果(公共)[4164]   */
                Assert.isNull(addConfItemResultComReqDto_2.getClassConfItemId(), "D2-3设置方案下选项配置结果-D2-3新增方案下选项配置结果(公共)-配置项关系ID不能为空", false);
                Assert.isNull(addConfItemResultComReqDto_2.getIsPlatData(), "D2-3设置方案下选项配置结果-D2-3新增方案下选项配置结果(公共)-是否标准答案不能为空", false);
                Assert.isNull(addConfItemResultComReqDto_2.getIsCeResult(), "D2-3设置方案下选项配置结果-D2-3新增方案下选项配置结果(公共)-是否定制结果不能为空", false);
                Assert.isNull(addConfItemResultComReqDto_2.getSubjectLifeCycle(), "D2-3设置方案下选项配置结果-D2-3新增方案下选项配置结果(公共)-主体生命周期不能为空", false);
                addConfItemResultComRespDto_2 = addConfItemResultCom(addConfItemResultComReqDto_2)/*vcase invoke 同服务,同domain*/;


            }
        }
//processBranchName:正常结束 ,processBranchId:15905

        SetConfSchemeItemResultRespDto retData = new SetConfSchemeItemResultRespDto();


        return retData;
    }

    /**
     * D2-3删除分组下配置项[2026]
     * gen by moon at 4/13/2023, 9:12:43 PM
     */
    @Trace(operationName = "D2-3删除分组下配置项")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public DeleteConfClassItemRespDto deleteConfClassItem(DeleteConfClassItemReqDto reqDto) {


        //virtualUsage 2-3-06查询分组下配置项详情  13958
        OmsConfClassItem omsConfClassItem = null;
        QueryConfClassItemDetailReq queryConfClassItemDetailReq = new QueryConfClassItemDetailReq();
        if (reqDto != null) {
            queryConfClassItemDetailReq.setClassConfItemId(reqDto.getClassConfItemId());//SimpleFieldAssign//sourceId:244834_1_13958
        }

        /*2-3-06查询分组下配置项详情[1933]   */
        Assert.isNull(queryConfClassItemDetailReq.getClassConfItemId(), "D2-3删除分组下配置项-2-3-06查询分组下配置项详情-配置项关系ID不能为空", false);
        omsConfClassItem = mOmsConfClassItemService.queryConfClassItemDetail(queryConfClassItemDetailReq)/*vcase invoke 本地 method 方法调用;*/;


//virtualUsage 2-3-02查询配置项详情  14677
        OmsConfItem omsConfItem = null;
        QueryConfItemDetailReq queryConfItemDetailReq = new QueryConfItemDetailReq();
        if (reqDto != null) {
            queryConfItemDetailReq.setConfItemId(reqDto.getConfItemId());//SimpleFieldAssign//sourceId:64685_1_14677
        }

        /*2-3-02查询配置项详情[1905]   */
        Assert.isNull(queryConfItemDetailReq.getConfItemId(), "D2-3删除分组下配置项-2-3-02查询配置项详情-配置项ID不能为空", false);
        omsConfItem = mOmsConfItemService.queryConfItemDetail(queryConfItemDetailReq)/*vcase invoke 本地 method 方法调用;*/;


        if ((omsConfClassItem != null && omsConfClassItem.getSubjectLifeCycle() != null && omsConfClassItem.getSubjectLifeCycle().equals("EDITING") && omsConfItem != null && omsConfItem.getSubjectLifeCycle() != null && omsConfItem.getSubjectLifeCycle().equals("CURRENTLY_VALID"))) {
            //if((2-3-06查询分组下配置项关系ID.生命周期状态 等于 正在编辑 and 2-3-02查配置项.主体生命周期 等于 当前有效))  14761

            boolean bOOLEAN;
            if (omsConfClassItem != null) {
                DeleteConfClassItemReq deleteConfClassItemReq = new DeleteConfClassItemReq();
                if (omsConfClassItem != null) {
                    deleteConfClassItemReq.setClassConfItemId(omsConfClassItem.getClassConfItemId());//SimpleFieldAssign//sourceId:59041_1_14762
                }

                /*2-3-06删除分组下配置项[1932]   */
                Assert.isNull(deleteConfClassItemReq.getClassConfItemId(), "D2-3删除分组下配置项-2-3-06删除分组下配置项-配置项关系ID不能为空", false);
                bOOLEAN = mOmsConfClassItemService.deleteConfClassItem(deleteConfClassItemReq)/*vcase invoke 本地 method 方法调用;*/;


            }
            List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult = new ArrayList<>();
            if (omsConfClassItem != null) {
                QueryConfItemResultListReq queryConfItemResultListReq = new QueryConfItemResultListReq();
                if (reqDto != null) {
                    queryConfItemResultListReq.setConfSchemeCode(reqDto.getConfSchemeCode());//SimpleFieldAssign//sourceId:59033_1_14764
                }
                if (omsConfClassItem != null) {
                    queryConfItemResultListReq.setConfItemCode(omsConfClassItem.getConfItemCode());//SimpleFieldAssign//sourceId:104116_1_14764
                }

                /*2-3-07查询方案下选项配置结果列表[1940]   */
                Assert.isNull(queryConfItemResultListReq.getConfSchemeCode(), "D2-3删除分组下配置项-2-3-07查询方案下选项配置结果列表-配置方案标识不能为空", false);
                Assert.isNull(queryConfItemResultListReq.getConfItemCode(), "D2-3删除分组下配置项-2-3-07查询方案下选项配置结果列表-配置项标识不能为空", false);
                listOmsConfSchemeOptionResult = mOmsConfSchemeOptionResultService.queryConfItemResultList(queryConfItemResultListReq)/*vcase invoke 本地 method 方法调用;*/;


            }
            boolean bOOLEAN_1;
            if (listOmsConfSchemeOptionResult != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult) && listOmsConfSchemeOptionResult.size() > 0) {
                List<String> listString = new ArrayList<>();
                if (listOmsConfSchemeOptionResult != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult) && listOmsConfSchemeOptionResult != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult)) {
                    listString = listOmsConfSchemeOptionResult.stream().map(item -> item.getOptionResultId())
                            .collect(Collectors.toList());/*list-to-strings*///sourceId:59040_1_14765
                }

                /*2-03-07批量删除方案下选项配置结果[1988]   */

                bOOLEAN_1 = mOmsConfSchemeOptionResultService.batchDeleteConfItemResult(listString)/*vcase invoke 本地 method 方法调用;*/;


            }
//processBranchName:正常结束 ,processBranchId:14763

        }
        if ((omsConfClassItem != null && omsConfClassItem.getSubjectLifeCycle() != null && omsConfClassItem.getSubjectLifeCycle().equals("EDITING") || omsConfItem != null && omsConfItem.getSubjectLifeCycle() != null && omsConfItem.getSubjectLifeCycle().equals("EDITING"))) {
            //if((2-3-06查询分组下配置项关系ID.生命周期状态 等于 正在编辑 or 2-3-02查配置项.主体生命周期 等于 正在编辑))  13959

            List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult_2 = new ArrayList<>();
            if (omsConfItem != null) {
                QueryConfItemResultListReq queryConfItemResultListReq_1 = new QueryConfItemResultListReq();
                if (reqDto != null) {
                    queryConfItemResultListReq_1.setConfSchemeCode(reqDto.getConfSchemeCode());//SimpleFieldAssign//sourceId:59033_1_14683
                }
                if (omsConfItem != null) {
                    queryConfItemResultListReq_1.setConfItemCode(omsConfItem.getConfItemCode());//SimpleFieldAssign//sourceId:104116_1_14683
                }

                /*2-3-07查询方案下选项配置结果列表[1940]   */
                Assert.isNull(queryConfItemResultListReq_1.getConfSchemeCode(), "D2-3删除分组下配置项-2-3-07查询方案下选项配置结果列表-配置方案标识不能为空", false);
                Assert.isNull(queryConfItemResultListReq_1.getConfItemCode(), "D2-3删除分组下配置项-2-3-07查询方案下选项配置结果列表-配置项标识不能为空", false);
                listOmsConfSchemeOptionResult_2 = mOmsConfSchemeOptionResultService.queryConfItemResultList(queryConfItemResultListReq_1)/*vcase invoke 本地 method 方法调用;*/;


            }
            boolean bOOLEAN_2;
            if (listOmsConfSchemeOptionResult_2 != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult_2) && listOmsConfSchemeOptionResult_2.size() > 0) {
                List<String> listString_1 = new ArrayList<>();
                if (listOmsConfSchemeOptionResult_2 != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult_2) && listOmsConfSchemeOptionResult_2 != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult_2)) {
                    listString_1 = listOmsConfSchemeOptionResult_2.stream().map(item -> item.getOptionResultId())
                            .collect(Collectors.toList());/*list-to-strings*///sourceId:59040_1_14684
                }

                /*2-03-07批量删除方案下选项配置结果[1988]   */

                bOOLEAN_2 = mOmsConfSchemeOptionResultService.batchDeleteConfItemResult(listString_1)/*vcase invoke 本地 method 方法调用;*/;


            }
            if ((omsConfItem != null && omsConfItem.getIsTemporaryLock() != null && omsConfItem.getIsTemporaryLock().equals("FALSE"))) {
                //if(2-3-02查询配置项详情.临时自动锁定 等于 否)  14685

                boolean bOOLEAN_3;
                if (omsConfItem != null) {
                    DeleteConfClassItemReq deleteConfClassItemReq_1 = new DeleteConfClassItemReq();
                    if (omsConfItem != null) {
                        deleteConfClassItemReq_1.setClassConfItemId(omsConfItem.getConfItemId());//SimpleFieldAssign//sourceId:59041_1_14686
                    }

                    /*2-3-06删除分组下配置项[1932]   */
                    Assert.isNull(deleteConfClassItemReq_1.getClassConfItemId(), "D2-3删除分组下配置项-2-3-06删除分组下配置项-配置项关系ID不能为空", false);
                    bOOLEAN_3 = mOmsConfClassItemService.deleteConfClassItem(deleteConfClassItemReq_1)/*vcase invoke 本地 method 方法调用;*/;


                }
//processBranchName:正常结束 ,processBranchId:14687

            } else if ((omsConfItem != null && omsConfItem.getIsTemporaryLock() != null && omsConfItem.getIsTemporaryLock().equals("TRUE"))) {
                //elseif(2-3-02查询配置项详情.临时自动锁定 等于 是)  13965

                boolean bOOLEAN_4;
                if (omsConfItem != null) {
                    OmsConfItem omsConfItem_2 = new OmsConfItem();
                    omsConfItem_2.setIsTemporaryLock("FALSE");//sourceId:114848_1_13966
                    if (omsConfItem != null) {
                        omsConfItem_2.setConfItemId(omsConfItem.getConfItemId());//SimpleFieldAssign//sourceId:114847_1_13966
                    }

                    /*2-3-02修改配置项（解除锁定）[1907]   */
                    Assert.isNull(omsConfItem_2.getConfItemId(), "D2-3删除分组下配置项-2-3-02修改配置项（解除锁定）-配置项ID不能为空", false);
                    Assert.isNull(omsConfItem_2.getIsTemporaryLock(), "D2-3删除分组下配置项-2-3-02修改配置项（解除锁定）-临时自动锁定不能为空", false);
                    bOOLEAN_4 = mOmsConfItemService.updateConfItem(omsConfItem_2)/*vcase invoke 本地 method 方法调用;*/;


                }
                boolean bOOLEAN_5;
                DeleteConfClassItemReq deleteConfClassItemReq_2 = new DeleteConfClassItemReq();
                if (reqDto != null) {
                    deleteConfClassItemReq_2.setClassConfItemId(reqDto.getClassConfItemId());//SimpleFieldAssign//sourceId:59041_1_13969
                }

                /*2-3-06删除分组下配置项[1932]   */
                Assert.isNull(deleteConfClassItemReq_2.getClassConfItemId(), "D2-3删除分组下配置项-2-3-06删除分组下配置项-配置项关系ID不能为空", false);
                bOOLEAN_5 = mOmsConfClassItemService.deleteConfClassItem(deleteConfClassItemReq_2)/*vcase invoke 本地 method 方法调用;*/;


//processBranchName:正常结束 ,processBranchId:13970

            }
        } else {
            //else  13971

//异常结束 13972
            throw new BizException("C00028", "对不起，没有数据！！", false);
        }
        DeleteConfClassItemRespDto retData = new DeleteConfClassItemRespDto();


        return retData;
    }

    /**
     * D2-3修改配置方案[1992]
     * gen by moon at 2022/7/3 下午5:12:16
     */
    @Trace(operationName = "D2-3修改配置方案")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public UpdateConfSchemeRespDto updateConfScheme(UpdateConfSchemeReqDto reqDto) {


        //步骤0: 2-3-04修改配置方案 - updateConfScheme
        boolean bOOLEAN;
        OmsConfScheme omsConfScheme = new OmsConfScheme();
        if (reqDto != null) {
            omsConfScheme.setConfSchemeId(reqDto.getConfSchemeId());//sourceId:58812_1
            omsConfScheme.setConfSchemeCode(reqDto.getConfSchemeCode());//sourceId:58813_1
            omsConfScheme.setConfSchemeName(reqDto.getConfSchemeName());//sourceId:58815_1
            omsConfScheme.setConfSchemeDes(reqDto.getConfSchemeDes());//sourceId:58816_1
            omsConfScheme.setConfSchemeTypeCode(reqDto.getConfSchemeTypeCode());//sourceId:58819_1
            omsConfScheme.setApplObjType(reqDto.getApplObjType());//sourceId:58817_1
            omsConfScheme.setBizSceneCode(reqDto.getBizSceneCode());//sourceId:61647_1
            omsConfScheme.setAuthType(reqDto.getAuthType());//sourceId:79438_1
            omsConfScheme.setAuthUnit(reqDto.getAuthUnit());//sourceId:63041_1
            omsConfScheme.setAuthorizationNum(reqDto.getAuthorizationNum());//sourceId:63042_1
            omsConfScheme.setIsInitialScheme(reqDto.getIsInitialScheme());//sourceId:58820_1
            omsConfScheme.setIsCustom(reqDto.getIsCustom());//sourceId:58821_1
            omsConfScheme.setIsOpenCustomConf(reqDto.getIsOpenCustomConf());//sourceId:58822_1
        }

        /*2-3-04修改配置方案[1921]   */
        bOOLEAN = mOmsConfSchemeService.updateConfScheme(omsConfScheme);


        UpdateConfSchemeRespDto retData = new UpdateConfSchemeRespDto();


        return retData;
    }

    /**
     * D2-3新增配置方案[1991]
     * gen by moon at 10/10/2022, 11:45:04 PM
     */
    @Trace(operationName = "D2-3新增配置方案")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public AddConfSchemeRespDto addConfScheme(AddConfSchemeReqDto reqDto) {


        String string_1 = null;
//virtualUsage 2-3-04查询配置方案详情  19188
        OmsConfScheme omsConfScheme = null;
        QueryConfSchemeDetailReq queryConfSchemeDetailReq = new QueryConfSchemeDetailReq();
        queryConfSchemeDetailReq.setIsArchive("FALSE");//sourceId:374472_1_19188
        if (reqDto != null) {
            queryConfSchemeDetailReq.setConfSchemeCode(reqDto.getConfSchemeCode());//SimpleFieldAssign//sourceId:374471_1_19188
        }

        /*2-3-04查询配置方案详情[1923]   */
        Assert.isNull(queryConfSchemeDetailReq.getConfSchemeCode(), "D2-3新增配置方案-2-3-04查询配置方案详情-配置方案标识不能为空", false);
        Assert.isNull(queryConfSchemeDetailReq.getIsArchive(), "D2-3新增配置方案-2-3-04查询配置方案详情-是否存档不能为空", false);
        omsConfScheme = mOmsConfSchemeService.queryConfSchemeDetail(queryConfSchemeDetailReq);


        if ((omsConfScheme == null)) {
            //if(2-3-04查询配置方案详情.出参 值等于空 )  19189

            String string = null;
            OmsConfScheme omsConfScheme_2 = new OmsConfScheme();
            if (reqDto != null) {
                omsConfScheme_2.setConfSchemeCode(reqDto.getConfSchemeCode());//SimpleFieldAssign//sourceId:58764_1_19190
                omsConfScheme_2.setConfSchemeName(reqDto.getConfSchemeName());//SimpleFieldAssign//sourceId:58766_1_19190
                omsConfScheme_2.setConfSchemeDes(reqDto.getConfSchemeDes());//SimpleFieldAssign//sourceId:58767_1_19190
                omsConfScheme_2.setApplObjType(reqDto.getApplObjType());//SimpleFieldAssign//sourceId:58768_1_19190
                omsConfScheme_2.setConfSchemeTypeCode(reqDto.getConfSchemeTypeCode());//SimpleFieldAssign//sourceId:58770_1_19190
                omsConfScheme_2.setAuthUnit(reqDto.getAuthUnit());//SimpleFieldAssign//sourceId:104064_1_19190
                omsConfScheme_2.setAuthorizationNum(reqDto.getAuthorizationNum());//SimpleFieldAssign//sourceId:104065_1_19190
                omsConfScheme_2.setAuthType(reqDto.getAuthType());//SimpleFieldAssign//sourceId:104066_1_19190
                omsConfScheme_2.setIsInitialScheme(reqDto.getIsInitialScheme());//SimpleFieldAssign//sourceId:58771_1_19190
                omsConfScheme_2.setIsCustom(reqDto.getIsCustom());//SimpleFieldAssign//sourceId:58772_1_19190
                omsConfScheme_2.setIsOpenCustomConf(reqDto.getIsOpenCustomConf());//SimpleFieldAssign//sourceId:58773_1_19190
                omsConfScheme_2.setBizSceneCode(reqDto.getBizSceneCode());//SimpleFieldAssign//sourceId:61632_1_19190
            }

            /*2-3-04新增配置方案[1920]   */
            Assert.isNull(omsConfScheme_2.getConfSchemeCode(), "D2-3新增配置方案-2-3-04新增配置方案-配置方案标识不能为空", false);
            Assert.isNull(omsConfScheme_2.getConfSchemeName(), "D2-3新增配置方案-2-3-04新增配置方案-配置方案名称不能为空", false);
            Assert.isNull(omsConfScheme_2.getApplObjType(), "D2-3新增配置方案-2-3-04新增配置方案-应用对象类型不能为空", false);
            Assert.isNull(omsConfScheme_2.getConfSchemeTypeCode(), "D2-3新增配置方案-2-3-04新增配置方案-方案类型编码不能为空", false);
            Assert.isNull(omsConfScheme_2.getAuthType(), "D2-3新增配置方案-2-3-04新增配置方案-授权类型不能为空", false);
            Assert.isNull(omsConfScheme_2.getIsInitialScheme(), "D2-3新增配置方案-2-3-04新增配置方案-是否初始方案不能为空", false);
            Assert.isNull(omsConfScheme_2.getIsCustom(), "D2-3新增配置方案-2-3-04新增配置方案-是否定制方案不能为空", false);
            Assert.isNull(omsConfScheme_2.getIsOpenCustomConf(), "D2-3新增配置方案-2-3-04新增配置方案-是否开启自定义配置不能为空", false);
            Assert.isNull(omsConfScheme_2.getBizSceneCode(), "D2-3新增配置方案-2-3-04新增配置方案-归属业务场景标识不能为空", false);
            string = mOmsConfSchemeService.addConfScheme(omsConfScheme_2);


            string_1 = string;
//processBranchName:正常结束 ,processBranchId:19191

        } else {
            //else  19192

//异常结束 19193
            throw new BizException("C00116", "对不起！已存在~！", false);
        }
        AddConfSchemeRespDto retData = new AddConfSchemeRespDto();
        if (string_1 != null) {
            retData.setConfSchemeId(string_1);//SimpleFieldAssign//sourceId:58798_1
        }


        return retData;
    }

    /**
     * D2-3查询配置方案详情[1981]
     * gen by moon at 9/17/2022, 2:22:04 AM
     */
    @Trace(operationName = "D2-3查询配置方案详情")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryConfSchemeDetailRespDto queryConfSchemeDetail(QueryConfSchemeDetailReqDto reqDto) {


        OmsConfScheme omsConfScheme_1 = null;
//步骤0: 2-3-04查询配置方案详情 - queryConfSchemeDetail
        OmsConfScheme omsConfScheme = null;
        QueryConfSchemeDetailReq queryConfSchemeDetailReq = new QueryConfSchemeDetailReq();
        if (reqDto != null) {
            queryConfSchemeDetailReq.setConfSchemeId(reqDto.getConfSchemeId());//sourceId:58575_1
            queryConfSchemeDetailReq.setConfSchemeCode(reqDto.getConfSchemeCode());//sourceId:58596_1
            queryConfSchemeDetailReq.setIsArchive(reqDto.getIsArchive());//sourceId:104092_1
        }

        /*2-3-04查询配置方案详情[1923]   */

        omsConfScheme = mOmsConfSchemeService.queryConfSchemeDetail(queryConfSchemeDetailReq);


        omsConfScheme_1 = omsConfScheme;

        QueryConfSchemeDetailRespDto retData = new QueryConfSchemeDetailRespDto();
        if (omsConfScheme_1 != null) {
            retData.setConfSchemeId(omsConfScheme_1.getConfSchemeId());//sourceId:58599_1
            retData.setConfSchemeCode(omsConfScheme_1.getConfSchemeCode());//sourceId:58600_1
            retData.setConfSchemeName(omsConfScheme_1.getConfSchemeName());//sourceId:58602_1
            retData.setConfSchemeDes(omsConfScheme_1.getConfSchemeDes());//sourceId:58603_1
            retData.setAuthType(omsConfScheme_1.getAuthType());//sourceId:79434_1
            retData.setAuthUnit(omsConfScheme_1.getAuthUnit());//sourceId:62990_1
            retData.setAuthorizationNum(omsConfScheme_1.getAuthorizationNum());//sourceId:62991_1
            retData.setBizSceneCode(omsConfScheme_1.getBizSceneCode());//sourceId:104091_1
            retData.setApplObjType(omsConfScheme_1.getApplObjType());//sourceId:58604_1
            retData.setConfSchemeTypeCode(omsConfScheme_1.getConfSchemeTypeCode());//sourceId:58606_1
            retData.setIsInitialScheme(omsConfScheme_1.getIsInitialScheme());//sourceId:58607_1
            retData.setIsCustom(omsConfScheme_1.getIsCustom());//sourceId:58608_1
            retData.setIsOpenCustomConf(omsConfScheme_1.getIsOpenCustomConf());//sourceId:58609_1
            retData.setSubjectLifeCycle(omsConfScheme_1.getSubjectLifeCycle());//sourceId:58610_1
            retData.setOperationInductionId(omsConfScheme_1.getOperationInductionId());//sourceId:58612_1
            retData.setOperateTime(omsConfScheme_1.getOperateTime());//sourceId:58613_1
        }


        return retData;
    }

    /**
     * D2-3查询配置方案列表[1980]
     * gen by moon at 10/1/2022, 11:34:07 PM
     */
    @Trace(operationName = "D2-3查询配置方案列表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryConfSchemeListRespDto queryConfSchemeList(QueryConfSchemeListReqDto reqDto) {


        List<OmsConfScheme> listOmsConfScheme_1 = new ArrayList<>();
//步骤0: 2-3-04查询配置方案列表 - queryConfSchemeList
        List<OmsConfScheme> listOmsConfScheme = new ArrayList<>();
        QueryConfSchemeListReq queryConfSchemeListReq = new QueryConfSchemeListReq();
        if (reqDto != null) {
            queryConfSchemeListReq.setConfSchemeName(reqDto.getConfSchemeName());//SimpleFieldAssign//sourceId:60438_1
            queryConfSchemeListReq.setApplObjType(reqDto.getApplObjType());//SimpleFieldAssign//sourceId:333477_1
            queryConfSchemeListReq.setConfSchemeTypeCode(reqDto.getConfSchemeTypeCode());//SimpleFieldAssign//sourceId:58554_1
            queryConfSchemeListReq.setIsInitialScheme(reqDto.getIsInitialScheme());//SimpleFieldAssign//sourceId:58555_1
            queryConfSchemeListReq.setIsArchive(reqDto.getIsArchive());//SimpleFieldAssign//sourceId:58559_1
            queryConfSchemeListReq.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:333480_1
        }

        /*2-3-04查询配置方案列表[1924]   */

        listOmsConfScheme = mOmsConfSchemeService.queryConfSchemeList(queryConfSchemeListReq);


        listOmsConfScheme_1 = listOmsConfScheme;

        QueryConfSchemeListRespDto retData = new QueryConfSchemeListRespDto();
        retData.setConfSchemeList(listOmsConfScheme_1.stream().map(item -> BeanUtil.toBean(item, ConfSchemeDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:58564_1


        return retData;
    }

    /**
     * D2-3一键重置开通方案下选项配置结果[2142]
     * gen by moon at 5/13/2023, 5:25:36 AM
     */
    @Trace(operationName = "D2-3一键重置开通方案下选项配置结果")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public BatchResetOpenConfItemResultRespDto batchResetOpenConfItemResult(BatchResetOpenConfItemResultReqDto reqDto) {


        //步骤0: 2-3-13查询应用实例配置关系详情 - queryApplexConrelDetail
        OmsConfApplexRel omsConfApplexRel = null;
        QueryApplexConrelDetailReq queryApplexConrelDetailReq = new QueryApplexConrelDetailReq();
        queryApplexConrelDetailReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:461816_1
        if (reqDto != null) {
            queryApplexConrelDetailReq.setApplexRelId(reqDto.getApplexRelId());//SimpleFieldAssign//sourceId:461826_1
        }

        /*2-3-13查询应用实例配置关系详情[2122]   */
        Assert.isNull(queryApplexConrelDetailReq.getApplexRelId(), "D2-3一键重置开通方案下选项配置结果-2-3-13查询应用实例配置关系详情-开通对象使用关系ID不能为空", false);
        Assert.isNull(queryApplexConrelDetailReq.getSubjectLifeCycle(), "D2-3一键重置开通方案下选项配置结果-2-3-13查询应用实例配置关系详情-主体生命周期不能为空", false);
        omsConfApplexRel = mOmsConfApplexRelService.queryApplexConrelDetail(queryApplexConrelDetailReq)/*vcase invoke 本地 method 方法调用;*/;


//步骤1: 2-3-04查询配置方案详情 - queryConfSchemeDetail
        OmsConfScheme omsConfScheme = null;
        if (omsConfApplexRel != null) {
            QueryConfSchemeDetailReq queryConfSchemeDetailReq = new QueryConfSchemeDetailReq();
            queryConfSchemeDetailReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:461829_1
            if (omsConfApplexRel != null) {
                queryConfSchemeDetailReq.setConfSchemeId(omsConfApplexRel.getConfSchemeId());//SimpleFieldAssign//sourceId:461828_1
            }

            /*2-3-04查询配置方案详情[1923]   */
            Assert.isNull(queryConfSchemeDetailReq.getConfSchemeId(), "D2-3一键重置开通方案下选项配置结果-2-3-04查询配置方案详情-配置方案ID 不能为空", false);
            Assert.isNull(queryConfSchemeDetailReq.getSubjectLifeCycle(), "D2-3一键重置开通方案下选项配置结果-2-3-04查询配置方案详情-生命周期状态不能为空", false);
            omsConfScheme = mOmsConfSchemeService.queryConfSchemeDetail(queryConfSchemeDetailReq)/*vcase invoke 本地 method 方法调用;*/;


        }

//步骤2: 2-3-07查询方案下选项配置结果列表 - queryConfItemResultList
        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult = new ArrayList<>();
        if (omsConfApplexRel != null) {
            QueryConfItemResultListReq queryConfItemResultListReq = new QueryConfItemResultListReq();
            if (reqDto != null) {
                queryConfItemResultListReq.setApplexRelId(reqDto.getApplexRelId());//SimpleFieldAssign//sourceId:314751_1
            }
            if (omsConfApplexRel != null) {
                queryConfItemResultListReq.setResultAspObjType(omsConfApplexRel.getApplexType());//SimpleFieldAssign//sourceId:490047_1
                queryConfItemResultListReq.setResultAspObjId(omsConfApplexRel.getApplexId());//SimpleFieldAssign//sourceId:104180_1
                queryConfItemResultListReq.setConfSchemeId(omsConfApplexRel.getConfSchemeId());//SimpleFieldAssign//sourceId:461830_1
            }

            /*2-3-07查询方案客户原答案列表[1940]   */
            Assert.isNull(queryConfItemResultListReq.getApplexRelId(), "D2-3一键重置开通方案下选项配置结果-2-3-07查询方案客户原答案列表-使用关系ID不能为空", false);
            Assert.isNull(queryConfItemResultListReq.getResultAspObjType(), "D2-3一键重置开通方案下选项配置结果-2-3-07查询方案客户原答案列表-开通对象类型编码不能为空", false);
            Assert.isNull(queryConfItemResultListReq.getResultAspObjId(), "D2-3一键重置开通方案下选项配置结果-2-3-07查询方案客户原答案列表-开通对象ID不能为空", false);
            Assert.isNull(queryConfItemResultListReq.getConfSchemeId(), "D2-3一键重置开通方案下选项配置结果-2-3-07查询方案客户原答案列表-配置方案ID 不能为空", false);
            listOmsConfSchemeOptionResult = mOmsConfSchemeOptionResultService.queryConfItemResultList(queryConfItemResultListReq)/*vcase invoke 本地 method 方法调用;*/;
            Assert.isTrue(listOmsConfSchemeOptionResult == null || CollectionUtil.isEmpty(listOmsConfSchemeOptionResult) || listOmsConfSchemeOptionResult == null || CollectionUtil.isEmpty(listOmsConfSchemeOptionResult) || listOmsConfSchemeOptionResult.size() == 0, "找不到数据，系统异常", false);


        }

//步骤3: 2-03-07批量删除方案下选项配置结果 - batchDeleteConfItemResult
        boolean bOOLEAN;
        List<String> listString = new ArrayList<>();
        if (listOmsConfSchemeOptionResult != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult) && listOmsConfSchemeOptionResult != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult)) {
            listString = listOmsConfSchemeOptionResult.stream().map(item -> item.getOptionResultId())
                    .collect(Collectors.toList());/*list-to-strings*///sourceId:259482_1
        }

        /*2-03-07批量删除方案下选项配置结果[1988]   */

        bOOLEAN = mOmsConfSchemeOptionResultService.batchDeleteConfItemResult(listString)/*vcase invoke 本地 method 方法调用;*/;


//步骤4: 2-3-07查询方案下选项配置结果列表 - queryConfItemResultList
        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult_2 = new ArrayList<>();
        if (omsConfApplexRel != null) {
            QueryConfItemResultListReq queryConfItemResultListReq_1 = new QueryConfItemResultListReq();
            queryConfItemResultListReq_1.setIsPlatData("TRUE");//sourceId:104195_1
            queryConfItemResultListReq_1.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:104191_1
            if (omsConfApplexRel != null) {
                queryConfItemResultListReq_1.setConfSchemeId(omsConfApplexRel.getConfSchemeId());//SimpleFieldAssign//sourceId:461832_1
            }

            /*2-3-07查询方案选项标准答案列表[1940]   */
            Assert.isNull(queryConfItemResultListReq_1.getConfSchemeId(), "D2-3一键重置开通方案下选项配置结果-2-3-07查询方案选项标准答案列表-配置方案ID 不能为空", false);
            Assert.isNull(queryConfItemResultListReq_1.getIsPlatData(), "D2-3一键重置开通方案下选项配置结果-2-3-07查询方案选项标准答案列表-是否标准答案不能为空", false);
            Assert.isNull(queryConfItemResultListReq_1.getSubjectLifeCycle(), "D2-3一键重置开通方案下选项配置结果-2-3-07查询方案选项标准答案列表-主体生命周期不能为空", false);
            listOmsConfSchemeOptionResult_2 = mOmsConfSchemeOptionResultService.queryConfItemResultList(queryConfItemResultListReq_1)/*vcase invoke 本地 method 方法调用;*/;
            Assert.isTrue(listOmsConfSchemeOptionResult_2 == null || CollectionUtil.isEmpty(listOmsConfSchemeOptionResult_2) || listOmsConfSchemeOptionResult_2 == null || CollectionUtil.isEmpty(listOmsConfSchemeOptionResult_2) || listOmsConfSchemeOptionResult_2.size() == 0, "找不到数据，系统异常", false);


        }

//步骤5: 2-3-07批量新增开通方案下选项配置结果 - batchAddOpenConfItemResult
        boolean bOOLEAN_1;
        if (listOmsConfSchemeOptionResult_2 != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult_2) && listOmsConfSchemeOptionResult_2.size() > 0) {
            List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult_4 = new ArrayList<>();
            if (listOmsConfSchemeOptionResult_2 != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult_2) && listOmsConfSchemeOptionResult_2 != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult_2)) {
                OmsConfApplexRel finalOmsConfApplexRel = omsConfApplexRel;
                OmsConfScheme finalOmsConfScheme = omsConfScheme;
                listOmsConfSchemeOptionResult_4 = //objList-to-objLists
                        listOmsConfSchemeOptionResult_2.stream().map(item -> {
                            OmsConfSchemeOptionResult elm = new OmsConfSchemeOptionResult();
                            elm.setEndValue(item.getEndValue());//SimpleFieldAssign//sourceId:34538_2
                            elm.setExtensionField1(item.getExtensionField1());//SimpleFieldAssign//sourceId:61270_2
                            elm.setExtensionField2(item.getExtensionField2());//SimpleFieldAssign//sourceId:61271_2
                            elm.setExtensionField3(item.getExtensionField3());//SimpleFieldAssign//sourceId:61272_2
                            elm.setExtensionField4(item.getExtensionField4());//SimpleFieldAssign//sourceId:199681_2
                            elm.setClassConfItemId(item.getClassConfItemId());//SimpleFieldAssign//sourceId:94521_2
                            elm.setConfOptionRshipId(item.getConfOptionRshipId());//SimpleFieldAssign//sourceId:34540_2
                            elm.setIsPlatData("FALSE");//sourceId:34875_2
                            elm.setIsCeResult("FALSE");//sourceId:34876_2
                            elm.setOptionType(item.getOptionType());//SimpleFieldAssign//sourceId:34541_2
                            elm.setResultType(item.getResultType());//SimpleFieldAssign//sourceId:34542_2
                            elm.setIsSingleResult(item.getIsSingleResult());//SimpleFieldAssign//sourceId:58159_2
                            elm.setOptionThrowPlace(item.getOptionThrowPlace());//SimpleFieldAssign//sourceId:89879_2
                            elm.setConfOptionSortNum(item.getConfOptionSortNum());//SimpleFieldAssign//sourceId:61273_2
                            elm.setConfOptionCode(item.getConfOptionCode());//SimpleFieldAssign//sourceId:39991_2
                            elm.setConfOptionName(item.getConfOptionName());//SimpleFieldAssign//sourceId:44507_2
                            elm.setConfItemCode(item.getConfItemCode());//SimpleFieldAssign//sourceId:34539_2
                            elm.setShortName(item.getShortName());//SimpleFieldAssign//sourceId:44528_2
                            elm.setConfItemClassCode(item.getConfItemClassCode());//SimpleFieldAssign//sourceId:50849_2
                            elm.setConfItemClassName(item.getConfItemClassName());//SimpleFieldAssign//sourceId:57023_2
                            elm.setConfSchemeId(item.getConfSchemeId());//SimpleFieldAssign//sourceId:34879_2
                            elm.setConfSchemeCode(item.getConfSchemeCode());//SimpleFieldAssign//sourceId:34880_2
                            elm.setConfSchemeName(item.getConfSchemeName());//SimpleFieldAssign//sourceId:57024_2
                            elm.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:34881_2
                            if (finalOmsConfApplexRel != null) {
                                elm.setSchOpenRecordId(finalOmsConfApplexRel.getSchOpenRecordId());//SimpleFieldAssign//sourceId:94986_2
                                elm.setResultAspObjId(finalOmsConfApplexRel.getApplexId());//SimpleFieldAssign//sourceId:34878_2
                                elm.setResultAspObjType(finalOmsConfApplexRel.getApplexType());//SimpleFieldAssign//sourceId:34877_2
                            }
                            if (reqDto != null) {
                                elm.setApplexRelId(reqDto.getApplexRelId());//SimpleFieldAssign//sourceId:94987_2
                            }
                            if (finalOmsConfScheme != null) {
                                elm.setIsInitialScheme(finalOmsConfScheme.getIsInitialScheme());//SimpleFieldAssign//sourceId:57089_2
                            }
                            return elm;
                        }).collect(Collectors.toList());//objList-to-objLists//sourceId:62226_1
            }

            /*2-3-07批量新增开通方案下选项配置结果[2129]   */

            bOOLEAN_1 = mOmsConfSchemeOptionResultService.batchAddOpenConfItemResult(listOmsConfSchemeOptionResult_4);


        }

        BatchResetOpenConfItemResultRespDto retData = new BatchResetOpenConfItemResultRespDto();


        return retData;
    }

    /**
     * D2-3删除配置选项[2074]
     * gen by moon at 8/24/2022, 2:06:21 PM
     */
    @Trace(operationName = "D2-3删除配置选项")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public DeleteConfOptionRespDto deleteConfOption(DeleteConfOptionReqDto reqDto) {


        //virtualUsage 2-3-01查询配置选项详情  14008
        OmsConfOption omsConfOption = null;
        QueryConfOptionDetailReq queryConfOptionDetailReq = new QueryConfOptionDetailReq();
        if (reqDto != null) {
            queryConfOptionDetailReq.setConfOptionId(reqDto.getConfOptionId());//sourceId:244941_1_14008
        }

        /*2-3-01查询配置选项详情[1912]   */
        Assert.isNull(queryConfOptionDetailReq.getConfOptionId(), "D2-3删除配置选项-2-3-01查询配置选项详情-配置选项ID不能为空", false);
        omsConfOption = mOmsConfOptionService.queryConfOptionDetail(queryConfOptionDetailReq);


//virtualUsage 2-3-03查询配置项下选项关系列表  14709
        List<OmsConfItemOptionRelationship> listOmsConfItemOptionRelationship = new ArrayList<>();
        if (omsConfOption != null) {
            QueryConfItemOptionListReq queryConfItemOptionListReq = new QueryConfItemOptionListReq();
            if (omsConfOption != null) {
                queryConfItemOptionListReq.setConfOptionId(omsConfOption.getConfOptionId());//sourceId:259080_1_14709
            }

            /*2-3-03查询配置项下选项关系列表[1918]   */
            Assert.isNull(queryConfItemOptionListReq.getConfOptionId(), "D2-3删除配置选项-2-3-03查询配置项下选项关系列表-冗余配置选项ID不能为空", false);
            listOmsConfItemOptionRelationship = mOmsConfItemOptionRelationshipService.queryConfItemOptionList(queryConfItemOptionListReq);


        }
        if ((omsConfOption != null && omsConfOption.getSubjectLifeCycle() != null && omsConfOption.getSubjectLifeCycle().equals("EDITING") && omsConfOption != null && omsConfOption.getIsTemporaryLock() != null && omsConfOption.getIsTemporaryLock().equals("FALSE"))) {
            //if((2-3-01查询配置选项详情.主体生命周期 等于 正在编辑 and 2-3-01查询配置选项详情.临时自动锁定 等于 否))  14009

            boolean bOOLEAN;
            if (omsConfOption != null) {
                String string = new String();
                if (omsConfOption != null) {
                    string = omsConfOption.getConfOptionId();
                    ;//sourceId:60416_1_14014
                }

                /*2-3-01删除配置选项[1911]   */
                Assert.isNull(string, "D2-3删除配置选项-2-3-01删除配置选项-配置选项ID不能为空", false);
                bOOLEAN = mOmsConfOptionService.deleteConfOption(string);


            }
//processBranchName:正常结束 ,processBranchId:14015

        } else if ((omsConfOption != null && omsConfOption.getSubjectLifeCycle() != null && omsConfOption.getSubjectLifeCycle().equals("EDITING") && omsConfOption != null && omsConfOption.getIsTemporaryLock() != null && omsConfOption.getIsTemporaryLock().equals("TRUE"))) {
            //elseif((2-3-01查询配置选项详情.主体生命周期 等于 正在编辑 and 2-3-01查询配置选项详情.临时自动锁定 等于 是))  14019

            OmsConfOption omsConfOption_2 = null;
            if (omsConfOption != null) {
                QueryConfOptionDetailReq queryConfOptionDetailReq_1 = new QueryConfOptionDetailReq();
                queryConfOptionDetailReq_1.setSubjectLifeCycle("EDITING");//sourceId:244979_1_14020
                queryConfOptionDetailReq_1.setCreateInductionId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecInductionRecordId());//CURRENT_INDUCTIONID//sourceId:244976_1_14020
                if (omsConfOption != null) {
                    queryConfOptionDetailReq_1.setConfOptionId(omsConfOption.getConfOptionId());//sourceId:244965_1_14020
                }

                /*2-3-01查询配置选项详情[1912]   */
                Assert.isNull(queryConfOptionDetailReq_1.getConfOptionId(), "D2-3删除配置选项-2-3-01查询配置选项详情-配置选项ID不能为空", false);
                Assert.isNull(queryConfOptionDetailReq_1.getSubjectLifeCycle(), "D2-3删除配置选项-2-3-01查询配置选项详情-主体生命周期不能为空", false);
                Assert.isNull(queryConfOptionDetailReq_1.getCreateInductionId(), "D2-3删除配置选项-2-3-01查询配置选项详情-创建人就职记录ID不能为空", false);
                omsConfOption_2 = mOmsConfOptionService.queryConfOptionDetail(queryConfOptionDetailReq_1);


            }
            if ((omsConfOption_2 != null && omsConfOption_2.getConfOptionId() != null)) {
                //if(2-3-01判断当前就职记录是否是创建人.配置选项ID 值不等于空 )  14021

                boolean bOOLEAN_1;
                if (omsConfOption != null) {
                    String string_1 = new String();
                    if (omsConfOption != null) {
                        string_1 = omsConfOption.getConfOptionId();
                        ;//sourceId:60416_1_14022
                    }

                    /*2-3-01删除配置选项[1911]   */
                    Assert.isNull(string_1, "D2-3删除配置选项-2-3-01删除配置选项-配置选项ID不能为空", false);
                    bOOLEAN_1 = mOmsConfOptionService.deleteConfOption(string_1);


                }
//processBranchName:正常结束 ,processBranchId:14023

            } else {
                //else  14024

//异常结束 14025
                throw new BizException("C00080", "对不起！您无权操作~！", false);
            }
        } else if ((omsConfOption != null && omsConfOption.getSubjectLifeCycle() != null && omsConfOption.getSubjectLifeCycle().equals("EDITING") && listOmsConfItemOptionRelationship != null && listOmsConfItemOptionRelationship != null && listOmsConfItemOptionRelationship.size() > 0)) {
            //elseif((2-3-01查询配置选项详情.主体生命周期 等于 正在编辑 and 2-3-03查询配置项下选项关系列表.配置项下选项关系列表数据集条数 大于 0))  14705

//异常结束 14710
            throw new BizException("C00080", "对不起！您无权操作~！", false);
        } else {
            //else  14026

//异常结束 14027
            throw new BizException("C00028", "对不起，没有数据！！", false);
        }
        DeleteConfOptionRespDto retData = new DeleteConfOptionRespDto();


        return retData;
    }

    /**
     * D2-3新增配置选项[2073]
     * gen by moon at 10/11/2022, 2:55:35 PM
     */
    @Trace(operationName = "D2-3新增配置选项")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public AddConfOptionRespDto addConfOption(AddConfOptionReqDto reqDto) {


        String string_1 = null;
//virtualUsage 2-3-01查询配置选项详情  19182
        OmsConfOption omsConfOption = null;
        QueryConfOptionDetailReq queryConfOptionDetailReq = new QueryConfOptionDetailReq();
        queryConfOptionDetailReq.setIsArchive("FALSE");//sourceId:374469_1_19182
        if (reqDto != null) {
            queryConfOptionDetailReq.setConfOptionCode(reqDto.getConfOptionCode());//SimpleFieldAssign//sourceId:374468_1_19182
        }

        /*2-3-01查询配置选项详情[1912]   */
        Assert.isNull(queryConfOptionDetailReq.getConfOptionCode(), "D2-3新增配置选项-2-3-01查询配置选项详情-选项标识不能为空", false);
        Assert.isNull(queryConfOptionDetailReq.getIsArchive(), "D2-3新增配置选项-2-3-01查询配置选项详情-是否存档不能为空", false);
        omsConfOption = mOmsConfOptionService.queryConfOptionDetail(queryConfOptionDetailReq);


        if ((omsConfOption == null)) {
            //if(2-3-01查询配置选项详情.出参 值等于空 )  19183

            String string = null;
            OmsConfOption omsConfOption_2 = new OmsConfOption();
            if (reqDto != null) {
                omsConfOption_2.setConfOptionCode(reqDto.getConfOptionCode());//SimpleFieldAssign//sourceId:60398_1_19184
                omsConfOption_2.setConfOptionName(reqDto.getConfOptionName());//SimpleFieldAssign//sourceId:60399_1_19184
                omsConfOption_2.setConfOptionDes(reqDto.getConfOptionDes());//SimpleFieldAssign//sourceId:103465_1_19184
                omsConfOption_2.setIsTemporaryLock(reqDto.getIsTemporaryLock());//SimpleFieldAssign//sourceId:103557_1_19184
            }

            /*2-3-01新增配置选项[1909]   */
            Assert.isNull(omsConfOption_2.getConfOptionCode(), "D2-3新增配置选项-2-3-01新增配置选项-选项标识不能为空", false);
            Assert.isNull(omsConfOption_2.getConfOptionName(), "D2-3新增配置选项-2-3-01新增配置选项-选项名称不能为空", false);
            Assert.isNull(omsConfOption_2.getIsTemporaryLock(), "D2-3新增配置选项-2-3-01新增配置选项-临时自动锁定不能为空", false);
            string = mOmsConfOptionService.addConfOption(omsConfOption_2);


            string_1 = string;
//processBranchName:正常结束 ,processBranchId:19185

        } else {
            //else  19186

//异常结束 19187
            throw new BizException("C00116", "对不起！已存在~！", false);
        }
        AddConfOptionRespDto retData = new AddConfOptionRespDto();
        if (string_1 != null) {
            retData.setConfOptionId(string_1);//SimpleFieldAssign//sourceId:60405_1
        }


        return retData;
    }

    /**
     * D2-3发布配置选项[2072]
     * gen by moon at 2022/7/3 下午5:10:58
     */
    @Trace(operationName = "D2-3发布配置选项")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public ReleaseConfOptionRespDto releaseConfOption(ReleaseConfOptionReqDto reqDto) {


        //步骤0: 2-3-01修改配置选项 - updateConfOption
        boolean bOOLEAN;
        OmsConfOption omsConfOption = new OmsConfOption();
        omsConfOption.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:60393_1
        omsConfOption.setIsTemporaryLock("FALSE");//sourceId:60415_1
        if (reqDto != null) {
            omsConfOption.setConfOptionId(reqDto.getConfOptionId());//sourceId:60389_1
        }

        /*2-3-01修改配置选项（发布）[1910]   */
        bOOLEAN = mOmsConfOptionService.updateConfOption(omsConfOption);


        ReleaseConfOptionRespDto retData = new ReleaseConfOptionRespDto();


        return retData;
    }

    /**
     * D2-3查询配置选项详情[2071]
     * gen by moon at 2022/7/3 下午5:11:01
     */
    @Trace(operationName = "D2-3查询配置选项详情")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryConfOptionDetailRespDto queryConfOptionDetail(QueryConfOptionDetailReqDto reqDto) {


        OmsConfOption omsConfOption_1 = null;
        OmsConfOption omsConfOption_3 = null;
//步骤0: 2-3-01查询配置选项详情 - queryConfOptionDetail
        OmsConfOption omsConfOption = null;
        QueryConfOptionDetailReq queryConfOptionDetailReq = new QueryConfOptionDetailReq();
        if (reqDto != null) {
            queryConfOptionDetailReq.setConfOptionId(reqDto.getConfOptionId());//sourceId:60310_1
            queryConfOptionDetailReq.setIsArchive(reqDto.getIsArchive());//sourceId:103548_1
        }

        /*2-3-01查询配置选项详情[1912]   */
        omsConfOption = mOmsConfOptionService.queryConfOptionDetail(queryConfOptionDetailReq);

        omsConfOption_1 = omsConfOption;

//步骤1: 2-3-01查询配置选项详情 - queryConfOptionDetail
        OmsConfOption omsConfOption_2 = null;
        QueryConfOptionDetailReq queryConfOptionDetailReq_1 = new QueryConfOptionDetailReq();
        queryConfOptionDetailReq_1.setCreateInductionId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecInductionRecordId());//CURRENT_INDUCTIONID//sourceId:60343_1
        if (reqDto != null) {
            queryConfOptionDetailReq_1.setConfOptionId(reqDto.getConfOptionId());//sourceId:60329_1
        }

        /*2-3-01查询配置选项详情（查当前创建人与当前操作人是否相同）[1912]   */
        omsConfOption_2 = mOmsConfOptionService.queryConfOptionDetail(queryConfOptionDetailReq_1);

        omsConfOption_3 = omsConfOption_2;

        QueryConfOptionDetailRespDto retData = new QueryConfOptionDetailRespDto();
        if (omsConfOption_1 != null) {
            retData.setConfOptionId(omsConfOption_1.getConfOptionId());//sourceId:60347_1
            retData.setConfOptionCode(omsConfOption_1.getConfOptionCode());//sourceId:60348_1
            retData.setConfOptionName(omsConfOption_1.getConfOptionName());//sourceId:60349_1
            retData.setConfOptionDes(omsConfOption_1.getConfOptionDes());//sourceId:60350_1
            retData.setIsTemporaryLock(omsConfOption_1.getIsTemporaryLock());//sourceId:60352_1
            retData.setSubjectLifeCycle(omsConfOption_1.getSubjectLifeCycle());//sourceId:60351_1
            retData.setOperationInductionId(omsConfOption_1.getOperationInductionId());//sourceId:60353_1
            retData.setOperationTime(omsConfOption_1.getOperateTime());//sourceId:60354_1
        }
        if (omsConfOption_3 != null) {
            retData.setCreateInductionId(omsConfOption_3.getCreateInductionId());//sourceId:60358_1
        }


        return retData;
    }

    /**
     * D2-3查询配置选项列表[2070]
     * gen by moon at 8/17/2022, 7:58:52 PM
     */
    @Trace(operationName = "D2-3查询配置选项列表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryConfOptionListRespDto queryConfOptionList(QueryConfOptionListReqDto reqDto) {


        List<OmsConfOption> listOmsConfOption_1 = new ArrayList<>();
//步骤0: 2-3-01查询配置选项列表 - queryConfOptionList
        List<OmsConfOption> listOmsConfOption = new ArrayList<>();
        QueryConfOptionListReq queryConfOptionListReq = new QueryConfOptionListReq();
        if (reqDto != null) {
            queryConfOptionListReq.setConfOptionName(reqDto.getConfOptionName());//sourceId:60200_1
            queryConfOptionListReq.setIsArchive(reqDto.getIsArchive());//sourceId:60195_1
        }

        /*2-3-01查询配置选项列表[1913]   */
        Assert.isNull(queryConfOptionListReq.getIsArchive(), "D2-3查询配置选项列表-2-3-01查询配置选项列表-是否存档不能为空", false);
        listOmsConfOption = mOmsConfOptionService.queryConfOptionList(queryConfOptionListReq);

        listOmsConfOption_1 = listOmsConfOption;

        QueryConfOptionListRespDto retData = new QueryConfOptionListRespDto();
        retData.setConfOptionList(listOmsConfOption_1.stream().map(item -> BeanUtil.toBean(item, ConfOptionDto.class)).collect(Collectors.toList()));//sourceId:60203_1


        return retData;
    }

    /**
     * D2-3删除配置项[2061]
     * gen by moon at 5/3/2023, 10:15:39 AM
     */
    @Trace(operationName = "D2-3删除配置项")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public DeleteConfItemRespDto deleteConfItem(DeleteConfItemReqDto reqDto) {


        //virtualUsage 2-3-02查询配置项详情  13973
        OmsConfItem omsConfItem = null;
        QueryConfItemDetailReq queryConfItemDetailReq = new QueryConfItemDetailReq();
        queryConfItemDetailReq.setSubjectLifeCycle("EDITING");//sourceId:244865_1_13973
        if (reqDto != null) {
            queryConfItemDetailReq.setConfItemId(reqDto.getConfItemId());//SimpleFieldAssign//sourceId:244864_1_13973
        }

        /*2-3-02查询配置项详情[1905]   */
        Assert.isNull(queryConfItemDetailReq.getConfItemId(), "D2-3删除配置项-2-3-02查询配置项详情-配置项ID不能为空", false);
        Assert.isNull(queryConfItemDetailReq.getSubjectLifeCycle(), "D2-3删除配置项-2-3-02查询配置项详情-主体生命周期不能为空", false);
        omsConfItem = mOmsConfItemService.queryConfItemDetail(queryConfItemDetailReq)/*vcase invoke 本地 method 方法调用;*/;


//virtualUsage 2-3-03查询配置项下选项关系列表  14696
        List<OmsConfItemOptionRelationship> listOmsConfItemOptionRelationship = new ArrayList<>();
        QueryConfItemOptionListReq queryConfItemOptionListReq = new QueryConfItemOptionListReq();
        queryConfItemOptionListReq.setSubjectLifeCycle("EDITING");//sourceId:60135_1_14696
        if (reqDto != null) {
            queryConfItemOptionListReq.setConfItemId(reqDto.getConfItemId());//SimpleFieldAssign//sourceId:62797_1_14696
        }

        /*2-3-03查询配置项下选项关系列表[1918]   */
        Assert.isNull(queryConfItemOptionListReq.getConfItemId(), "D2-3删除配置项-2-3-03查询配置项下选项关系列表-冗余配置项ID不能为空", false);
        Assert.isNull(queryConfItemOptionListReq.getSubjectLifeCycle(), "D2-3删除配置项-2-3-03查询配置项下选项关系列表-主体生命周期不能为空", false);
        listOmsConfItemOptionRelationship = mOmsConfItemOptionRelationshipService.queryConfItemOptionList(queryConfItemOptionListReq)/*vcase invoke 本地 method 方法调用;*/;


        if ((omsConfItem != null && omsConfItem.getSubjectLifeCycle() != null && omsConfItem.getSubjectLifeCycle().equals("EDITING"))) {
            //if(2-3-02查询配置项详情.主体生命周期 等于 正在编辑)  13974

            boolean bOOLEAN;
            if (listOmsConfItemOptionRelationship != null && !CollectionUtil.isEmpty(listOmsConfItemOptionRelationship) && listOmsConfItemOptionRelationship.size() > 0) {
                List<String> listString = new ArrayList<>();
                if (listOmsConfItemOptionRelationship != null && !CollectionUtil.isEmpty(listOmsConfItemOptionRelationship) && listOmsConfItemOptionRelationship != null && !CollectionUtil.isEmpty(listOmsConfItemOptionRelationship)) {
                    listString = listOmsConfItemOptionRelationship.stream().map(item -> item.getConfOptionRshipId())
                            .collect(Collectors.toList());/*list-to-strings*///sourceId:60145_1_13976
                }

                /*2-3-03批量删配置项下选项关系[2062]   */

                bOOLEAN = mOmsConfItemOptionRelationshipService.batchDeleteConfItemOption(listString)/*vcase invoke 本地 method 方法调用;*/;


            }
            List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult = new ArrayList<>();
            if (omsConfItem != null) {
                QueryConfItemResultListReq queryConfItemResultListReq = new QueryConfItemResultListReq();
                if (omsConfItem != null) {
                    queryConfItemResultListReq.setConfItemCode(omsConfItem.getConfItemCode());//SimpleFieldAssign//sourceId:115134_1_13977
                }

                /*2-3-07查询方案下选项配置结果列表[1940]   */
                Assert.isNull(queryConfItemResultListReq.getConfItemCode(), "D2-3删除配置项-2-3-07查询方案下选项配置结果列表-配置项标识不能为空", false);
                listOmsConfSchemeOptionResult = mOmsConfSchemeOptionResultService.queryConfItemResultList(queryConfItemResultListReq)/*vcase invoke 本地 method 方法调用;*/;


            }
            boolean bOOLEAN_1;
            if (listOmsConfSchemeOptionResult != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult) && listOmsConfSchemeOptionResult.size() > 0) {
                List<String> listString_1 = new ArrayList<>();
                if (listOmsConfSchemeOptionResult != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult) && listOmsConfSchemeOptionResult != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult)) {
                    listString_1 = listOmsConfSchemeOptionResult.stream().map(item -> item.getOptionResultId())
                            .collect(Collectors.toList());/*list-to-strings*///sourceId:60182_1_13978
                }

                /*2-03-07批量删除方案下选项配置结果[1988]   */

                bOOLEAN_1 = mOmsConfSchemeOptionResultService.batchDeleteConfItemResult(listString_1)/*vcase invoke 本地 method 方法调用;*/;


            }
            List<OmsConfOption> listOmsConfOption = new ArrayList<>();
            if (listOmsConfItemOptionRelationship != null && !CollectionUtil.isEmpty(listOmsConfItemOptionRelationship) && listOmsConfItemOptionRelationship.size() > 0) {
                BatchQueryConfOptionListReq batchQueryConfOptionListReq = new BatchQueryConfOptionListReq();
                batchQueryConfOptionListReq.setSubjectLifeCycle("EDITING");//sourceId:259065_1_13979
                batchQueryConfOptionListReq.setIsTemporaryLock("TRUE");//sourceId:259066_1_13979
                if (listOmsConfItemOptionRelationship != null && !CollectionUtil.isEmpty(listOmsConfItemOptionRelationship) && listOmsConfItemOptionRelationship != null && !CollectionUtil.isEmpty(listOmsConfItemOptionRelationship)) {
                    batchQueryConfOptionListReq.setConfOptionList(listOmsConfItemOptionRelationship.stream().map(item -> item.getConfOptionId())
                            .collect(Collectors.toList()));/*list-to-strings*///sourceId:60147_1_13979
                }

                /*2-3-01批量查询配置选项列表[1998]   */
                Assert.isNull(batchQueryConfOptionListReq.getSubjectLifeCycle(), "D2-3删除配置项-2-3-01批量查询配置选项列表-主体生命周期不能为空", false);
                Assert.isNull(batchQueryConfOptionListReq.getIsTemporaryLock(), "D2-3删除配置项-2-3-01批量查询配置选项列表-临时自动锁定不能为空", false);
                listOmsConfOption = mOmsConfOptionService.batchQueryConfOptionList(batchQueryConfOptionListReq)/*vcase invoke 本地 method 方法调用;*/;


            }
            boolean bOOLEAN_2;
            if (listOmsConfOption != null && !CollectionUtil.isEmpty(listOmsConfOption) && listOmsConfOption.size() > 0) {
                List<OmsConfOption> listOmsConfOption_2 = new ArrayList<>();
                if (listOmsConfOption != null && !CollectionUtil.isEmpty(listOmsConfOption) && listOmsConfOption != null && !CollectionUtil.isEmpty(listOmsConfOption)) {
                    listOmsConfOption_2 = //objList-to-objLists
                            listOmsConfOption.stream().map(item -> {
                                OmsConfOption elm = new OmsConfOption();
                                elm.setConfOptionId(item.getConfOptionId());//SimpleFieldAssign//sourceId:61803_2_13980
                                elm.setIsTemporaryLock("FALSE");//sourceId:61804_2_13980
                                return elm;
                            }).collect(Collectors.toList());//objList-to-objLists//sourceId:115168_1_13980
                }

                /*2-3-01批量修改配置选项（解除临时锁定）[2043]   */

                bOOLEAN_2 = mOmsConfOptionService.batchUpdateConfOption(listOmsConfOption_2)/*vcase invoke 本地 method 方法调用;*/;


            }
            boolean bOOLEAN_3;
            if (omsConfItem != null) {
                DeleteConfItemReq deleteConfItemReq = new DeleteConfItemReq();
                if (omsConfItem != null) {
                    deleteConfItemReq.setConfItemId(omsConfItem.getConfItemId());//SimpleFieldAssign//sourceId:60146_1_13983
                }

                /*2-3-02删除配置项[1904]   */
                Assert.isNull(deleteConfItemReq.getConfItemId(), "D2-3删除配置项-2-3-02删除配置项-配置项ID不能为空", false);
                bOOLEAN_3 = mOmsConfItemService.deleteConfItem(deleteConfItemReq)/*vcase invoke 本地 method 方法调用;*/;


            }
//processBranchName:正常结束 ,processBranchId:13984

        } else if ((omsConfItem != null && omsConfItem.getSubjectLifeCycle() != null && omsConfItem.getSubjectLifeCycle().equals("EDITING") && listOmsConfItemOptionRelationship != null && listOmsConfItemOptionRelationship != null && listOmsConfItemOptionRelationship.size() == 0)) {
            //elseif((2-3-02查询配置项详情.主体生命周期 等于 正在编辑 and 2-3-03查询配置项下选项关系列表.配置项下选项关系列表数据集条数 等于 0))  14694

            boolean bOOLEAN_4;
            if (omsConfItem != null) {
                DeleteConfItemReq deleteConfItemReq_1 = new DeleteConfItemReq();
                if (omsConfItem != null) {
                    deleteConfItemReq_1.setConfItemId(omsConfItem.getConfItemId());//SimpleFieldAssign//sourceId:60146_1_14703
                }

                /*2-3-02删除配置项[1904]   */
                Assert.isNull(deleteConfItemReq_1.getConfItemId(), "D2-3删除配置项-2-3-02删除配置项-配置项ID不能为空", false);
                bOOLEAN_4 = mOmsConfItemService.deleteConfItem(deleteConfItemReq_1)/*vcase invoke 本地 method 方法调用;*/;


            }
//processBranchName:正常结束 ,processBranchId:14704

        } else {
            //else  13985

//异常结束 13986
            throw new BizException("C00028", "对不起，没有数据！！", false);
        }
        DeleteConfItemRespDto retData = new DeleteConfItemRespDto();


        return retData;
    }

    /**
     * D2-3发布配置项[2059]
     * gen by moon at 5/3/2023, 10:15:36 AM
     */
    @Trace(operationName = "D2-3发布配置项")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public ReleaseConfItemRespDto releaseConfItem(ReleaseConfItemReqDto reqDto) {


        //步骤0: 2-3-03查询配置项下选项关系列表 - queryConfItemOptionList
        List<OmsConfItemOptionRelationship> listOmsConfItemOptionRelationship = new ArrayList<>();
        QueryConfItemOptionListReq queryConfItemOptionListReq = new QueryConfItemOptionListReq();
        if (reqDto != null) {
            queryConfItemOptionListReq.setConfItemId(reqDto.getConfItemId());//SimpleFieldAssign//sourceId:62796_1
        }

        /*2-3-03查询配置项下选项关系列表[1918]   */
        Assert.isNull(queryConfItemOptionListReq.getConfItemId(), "D2-3发布配置项-2-3-03查询配置项下选项关系列表-冗余配置项ID不能为空", false);
        listOmsConfItemOptionRelationship = mOmsConfItemOptionRelationshipService.queryConfItemOptionList(queryConfItemOptionListReq)/*vcase invoke 本地 method 方法调用;*/;
        Assert.isTrue(listOmsConfItemOptionRelationship == null || CollectionUtil.isEmpty(listOmsConfItemOptionRelationship) || listOmsConfItemOptionRelationship == null || CollectionUtil.isEmpty(listOmsConfItemOptionRelationship) || listOmsConfItemOptionRelationship.size() == 0, "找不到数据，系统异常", false);


//步骤1: 2-3-03批量修改配置项下选项关系 - batchUpdateConfItemOption
        boolean bOOLEAN;
        if (listOmsConfItemOptionRelationship != null && !CollectionUtil.isEmpty(listOmsConfItemOptionRelationship) && listOmsConfItemOptionRelationship.size() > 0) {
            List<OmsConfItemOptionRelationship> listOmsConfItemOptionRelationship_2 = new ArrayList<>();
            if (listOmsConfItemOptionRelationship != null && !CollectionUtil.isEmpty(listOmsConfItemOptionRelationship) && listOmsConfItemOptionRelationship != null && !CollectionUtil.isEmpty(listOmsConfItemOptionRelationship)) {
                listOmsConfItemOptionRelationship_2 = listOmsConfItemOptionRelationship.stream().map(item -> {
                    OmsConfItemOptionRelationship elm = BeanUtil.toBean(item, OmsConfItemOptionRelationship.class);
                    elm.setSubjectLifeCycle("CURRENTLY_VALID");

                    return elm;
                }).collect(Collectors.toList());//objList-to-objLists//sourceId:60025_1
            }

            /*2-3-03批量修改配置项下选项关系[2044]   */

            bOOLEAN = mOmsConfItemOptionRelationshipService.batchUpdateConfItemOption(listOmsConfItemOptionRelationship_2)/*vcase invoke 本地 method 方法调用;*/;


        }

//步骤2: 2-3-01批量查询配置选项列表 - batchQueryConfOptionList
        List<OmsConfOption> listOmsConfOption = new ArrayList<>();
        if (listOmsConfItemOptionRelationship != null && !CollectionUtil.isEmpty(listOmsConfItemOptionRelationship) && listOmsConfItemOptionRelationship.size() > 0) {
            BatchQueryConfOptionListReq batchQueryConfOptionListReq = new BatchQueryConfOptionListReq();
            batchQueryConfOptionListReq.setSubjectLifeCycle("EDITING");//sourceId:104060_1
            batchQueryConfOptionListReq.setIsTemporaryLock("TRUE");//sourceId:60020_1
            if (listOmsConfItemOptionRelationship != null && !CollectionUtil.isEmpty(listOmsConfItemOptionRelationship) && listOmsConfItemOptionRelationship != null && !CollectionUtil.isEmpty(listOmsConfItemOptionRelationship)) {
                batchQueryConfOptionListReq.setConfOptionList(listOmsConfItemOptionRelationship.stream().map(item -> item.getConfOptionId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:60017_1
            }

            /*2-3-01批量查询配置选项列表[1998]   */
            Assert.isNull(batchQueryConfOptionListReq.getSubjectLifeCycle(), "D2-3发布配置项-2-3-01批量查询配置选项列表-主体生命周期不能为空", false);
            Assert.isNull(batchQueryConfOptionListReq.getIsTemporaryLock(), "D2-3发布配置项-2-3-01批量查询配置选项列表-临时自动锁定不能为空", false);
            listOmsConfOption = mOmsConfOptionService.batchQueryConfOptionList(batchQueryConfOptionListReq)/*vcase invoke 本地 method 方法调用;*/;


        }

//步骤3: 2-3-01批量修改配置选项 - batchUpdateConfOption
        boolean bOOLEAN_1;
        if (listOmsConfOption != null && !CollectionUtil.isEmpty(listOmsConfOption) && listOmsConfOption.size() > 0) {
            List<OmsConfOption> listOmsConfOption_2 = new ArrayList<>();
            if (listOmsConfOption != null && !CollectionUtil.isEmpty(listOmsConfOption) && listOmsConfOption != null && !CollectionUtil.isEmpty(listOmsConfOption)) {
                listOmsConfOption_2 = listOmsConfOption.stream().map(item -> {
                    OmsConfOption elm = BeanUtil.toBean(item, OmsConfOption.class);
                    elm.setIsTemporaryLock("FALSE");
                    elm.setSubjectLifeCycle("CURRENTLY_VALID");

                    return elm;
                }).collect(Collectors.toList());//objList-to-objLists//sourceId:60021_1
            }

            /*2-3-01批量修改配置选项[2043]   */

            bOOLEAN_1 = mOmsConfOptionService.batchUpdateConfOption(listOmsConfOption_2)/*vcase invoke 本地 method 方法调用;*/;


        }

//步骤4: 2-3-02修改配置项 - updateConfItem
        boolean bOOLEAN_2;
        OmsConfItem omsConfItem = new OmsConfItem();
        omsConfItem.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:60041_1
        if (reqDto != null) {
            omsConfItem.setConfItemId(reqDto.getConfItemId());//SimpleFieldAssign//sourceId:60028_1
        }

        /*2-3-02修改配置项[1907]   */
        Assert.isNull(omsConfItem.getConfItemId(), "D2-3发布配置项-2-3-02修改配置项-配置项ID不能为空", false);
        Assert.isNull(omsConfItem.getSubjectLifeCycle(), "D2-3发布配置项-2-3-02修改配置项-主体生命周期不能为空", false);
        bOOLEAN_2 = mOmsConfItemService.updateConfItem(omsConfItem)/*vcase invoke 本地 method 方法调用;*/;


        ReleaseConfItemRespDto retData = new ReleaseConfItemRespDto();


        return retData;
    }

    /**
     * D2-3删除配置项下选项关系[2057]
     * gen by moon at 8/24/2022, 9:16:47 PM
     */
    @Trace(operationName = "D2-3删除配置项下选项关系")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public DeleteConfItemOptionRespDto deleteConfItemOption(DeleteConfItemOptionReqDto reqDto) {


        //virtualUsage 2-3-03查询配置项下选项关系  13989
        OmsConfItemOptionRelationship omsConfItemOptionRelationship = null;
        QueryConfItemOptionDetailReq queryConfItemOptionDetailReq = new QueryConfItemOptionDetailReq();
        queryConfItemOptionDetailReq.setIsValid("FALSE");//sourceId:244896_1_13989
        if (reqDto != null) {
            queryConfItemOptionDetailReq.setConfOptionRshipId(reqDto.getConfOptionRshipId());//sourceId:244891_1_13989
        }

        /*2-3-03查询配置项下选项关系[1915]   */
        Assert.isNull(queryConfItemOptionDetailReq.getConfOptionRshipId(), "D2-3删除配置项下选项关系-2-3-03查询配置项下选项关系-配置项下选项关系ID不能为空", false);
        Assert.isNull(queryConfItemOptionDetailReq.getIsValid(), "D2-3删除配置项下选项关系-2-3-03查询配置项下选项关系-是否作废不能为空", false);
        omsConfItemOptionRelationship = mOmsConfItemOptionRelationshipService.queryConfItemOptionDetail(queryConfItemOptionDetailReq);


//virtualUsage 2-3-01查询配置选项详情  14697
        OmsConfOption omsConfOption = null;
        QueryConfOptionDetailReq queryConfOptionDetailReq = new QueryConfOptionDetailReq();
        if (reqDto != null) {
            queryConfOptionDetailReq.setConfOptionId(reqDto.getConfOptionId());//sourceId:103994_1_14697
        }

        /*2-3-01查询配置选项详情[1912]   */
        Assert.isNull(queryConfOptionDetailReq.getConfOptionId(), "D2-3删除配置项下选项关系-2-3-01查询配置选项详情-配置选项ID不能为空", false);
        omsConfOption = mOmsConfOptionService.queryConfOptionDetail(queryConfOptionDetailReq);


        if ((omsConfItemOptionRelationship != null && omsConfItemOptionRelationship.getSubjectLifeCycle() != null && omsConfItemOptionRelationship.getSubjectLifeCycle().equals("EDITING") || omsConfOption != null && omsConfOption.getSubjectLifeCycle() != null && omsConfOption.getSubjectLifeCycle().equals("CURRENTLY_VALID"))) {
            //if((2-3-03查询配置项下选项关系.主体生命周期 等于 正在编辑 or 2-3-01查询配置选项详情.主体生命周期 等于 当前有效))  13988

            OmsConfOption omsConfOption_2 = null;
            QueryConfOptionDetailReq queryConfOptionDetailReq_1 = new QueryConfOptionDetailReq();
            if (reqDto != null) {
                queryConfOptionDetailReq_1.setConfOptionId(reqDto.getConfOptionId());//sourceId:103994_1_13990
            }

            /*2-3-01查询配置选项详情[1912]   */
            Assert.isNull(queryConfOptionDetailReq_1.getConfOptionId(), "D2-3删除配置项下选项关系-2-3-01查询配置选项详情-配置选项ID不能为空", false);
            omsConfOption_2 = mOmsConfOptionService.queryConfOptionDetail(queryConfOptionDetailReq_1);


            if ((omsConfOption_2 != null && omsConfOption_2.getIsTemporaryLock() != null && omsConfOption_2.getIsTemporaryLock().equals("FALSE"))) {
                //if(2-3-01查询配置选项详情.临时自动锁定 等于 否)  13991

                boolean bOOLEAN;
                Assert.isTrue(omsConfItemOptionRelationship == null || omsConfItemOptionRelationship.getConfOptionRshipId() == null, "返回值不能为空", false);
                if (omsConfItemOptionRelationship != null) {
                    DeleteConfItemOptionReq deleteConfItemOptionReq = new DeleteConfItemOptionReq();
                    if (omsConfItemOptionRelationship != null) {
                        deleteConfItemOptionReq.setConfOptionRshipId(omsConfItemOptionRelationship.getConfOptionRshipId());//sourceId:59998_1_13992
                    }

                    /*2-3-03删除配置项下选项关系[1917]   */
                    Assert.isNull(deleteConfItemOptionReq.getConfOptionRshipId(), "D2-3删除配置项下选项关系-2-3-03删除配置项下选项关系-配置项下选项关系ID不能为空", false);
                    bOOLEAN = mOmsConfItemOptionRelationshipService.deleteConfItemOption(deleteConfItemOptionReq);


                }
//processBranchName:正常结束 ,processBranchId:13993

            } else if ((omsConfOption_2 != null && omsConfOption_2.getIsTemporaryLock() != null && omsConfOption_2.getIsTemporaryLock().equals("TRUE") && omsConfOption_2 != null && omsConfOption_2.getSubjectLifeCycle() != null && omsConfOption_2.getSubjectLifeCycle().equals("EDITING"))) {
                //elseif((2-3-01查询配置选项详情.临时自动锁定 等于 是 and 2-3-01查询配置选项详情.主体生命周期 等于 正在编辑))  13996

                boolean bOOLEAN_1;
                if (omsConfOption_2 != null) {
                    OmsConfOption omsConfOption_3 = new OmsConfOption();
                    omsConfOption_3.setIsTemporaryLock("FALSE");//sourceId:244933_1_14003
                    if (omsConfOption_2 != null) {
                        omsConfOption_3.setConfOptionId(omsConfOption_2.getConfOptionId());//sourceId:244928_1_14003
                    }

                    /*2-3-01修改配置选项[1910]   */
                    Assert.isNull(omsConfOption_3.getConfOptionId(), "D2-3删除配置项下选项关系-2-3-01修改配置选项-配置选项ID不能为空", false);
                    Assert.isNull(omsConfOption_3.getIsTemporaryLock(), "D2-3删除配置项下选项关系-2-3-01修改配置选项-临时自动锁定不能为空", false);
                    bOOLEAN_1 = mOmsConfOptionService.updateConfOption(omsConfOption_3);


                }
                List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult = new ArrayList<>();
                Assert.isTrue(omsConfItemOptionRelationship == null || omsConfItemOptionRelationship.getConfOptionRshipId() == null, "返回值不能为空", false);
                if (omsConfItemOptionRelationship != null) {
                    QueryConfItemResultListReq queryConfItemResultListReq = new QueryConfItemResultListReq();
                    queryConfItemResultListReq.setSubjectLifeCycle("EDITING");//sourceId:60288_1_13998
                    if (omsConfItemOptionRelationship != null) {
                        queryConfItemResultListReq.setConfOptionRshipId(omsConfItemOptionRelationship.getConfOptionRshipId());//sourceId:103868_1_13998
                    }

                    /*2-3-07查询方案下选项配置结果列表[1940]   */
                    Assert.isNull(queryConfItemResultListReq.getConfOptionRshipId(), "D2-3删除配置项下选项关系-2-3-07查询方案下选项配置结果列表-选项关系ID 不能为空", false);
                    Assert.isNull(queryConfItemResultListReq.getSubjectLifeCycle(), "D2-3删除配置项下选项关系-2-3-07查询方案下选项配置结果列表-主体生命周期不能为空", false);
                    listOmsConfSchemeOptionResult = mOmsConfSchemeOptionResultService.queryConfItemResultList(queryConfItemResultListReq);


                }
                boolean bOOLEAN_2;
                if (listOmsConfSchemeOptionResult != null && listOmsConfSchemeOptionResult.size() > 0) {
                    List<String> listString = new ArrayList<>();
                    listString = listOmsConfSchemeOptionResult.stream().map(item -> item.getOptionResultId())
                            .collect(Collectors.toList());//sourceId:60252_1_13999

                    /*2-03-07批量删除方案下选项配置结果[1988]   */

                    bOOLEAN_2 = mOmsConfSchemeOptionResultService.batchDeleteConfItemResult(listString);


                }
                boolean bOOLEAN_3;
                Assert.isTrue(omsConfItemOptionRelationship == null || omsConfItemOptionRelationship.getConfOptionRshipId() == null, "返回值不能为空", false);
                if (omsConfItemOptionRelationship != null) {
                    DeleteConfItemOptionReq deleteConfItemOptionReq_1 = new DeleteConfItemOptionReq();
                    if (omsConfItemOptionRelationship != null) {
                        deleteConfItemOptionReq_1.setConfOptionRshipId(omsConfItemOptionRelationship.getConfOptionRshipId());//sourceId:59998_1_14000
                    }

                    /*2-3-03删除配置项下选项关系[1917]   */
                    Assert.isNull(deleteConfItemOptionReq_1.getConfOptionRshipId(), "D2-3删除配置项下选项关系-2-3-03删除配置项下选项关系-配置项下选项关系ID不能为空", false);
                    bOOLEAN_3 = mOmsConfItemOptionRelationshipService.deleteConfItemOption(deleteConfItemOptionReq_1);


                }
//processBranchName:正常结束 ,processBranchId:14002

            }
        } else if ((omsConfItemOptionRelationship != null && omsConfItemOptionRelationship.getSubjectLifeCycle() != null && omsConfItemOptionRelationship.getSubjectLifeCycle().equals("EDITING") && omsConfOption != null && omsConfOption.getConfOptionId() == null)) {
            //elseif((2-3-03查询配置项下选项关系.主体生命周期 等于 正在编辑 and 2-3-01查询配置选项详情.配置选项ID 值等于空 ))  14700

            boolean bOOLEAN_4;
            Assert.isTrue(omsConfItemOptionRelationship == null || omsConfItemOptionRelationship.getConfOptionRshipId() == null, "返回值不能为空", false);
            if (omsConfItemOptionRelationship != null) {
                DeleteConfItemOptionReq deleteConfItemOptionReq_2 = new DeleteConfItemOptionReq();
                if (omsConfItemOptionRelationship != null) {
                    deleteConfItemOptionReq_2.setConfOptionRshipId(omsConfItemOptionRelationship.getConfOptionRshipId());//sourceId:59998_1_14701
                }

                /*2-3-03删除配置项下选项关系[1917]   */
                Assert.isNull(deleteConfItemOptionReq_2.getConfOptionRshipId(), "D2-3删除配置项下选项关系-2-3-03删除配置项下选项关系-配置项下选项关系ID不能为空", false);
                bOOLEAN_4 = mOmsConfItemOptionRelationshipService.deleteConfItemOption(deleteConfItemOptionReq_2);


            }
//processBranchName:正常结束 ,processBranchId:14702

        } else {
            //else  14006

//异常结束 14007
            throw new BizException("C00028", "对不起，没有数据！！", false);
        }
        DeleteConfItemOptionRespDto retData = new DeleteConfItemOptionRespDto();


        return retData;
    }

    /**
     * D2-3修改配置选项[2056]
     * gen by moon at 5/3/2023, 10:15:34 AM
     */
    @Trace(operationName = "D2-3修改配置选项")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public UpdateConfOptionRespDto updateConfOption(UpdateConfOptionReqDto reqDto) {


        //步骤0: 2-3-01修改配置选项 - updateConfOption
        boolean bOOLEAN;
        OmsConfOption omsConfOption = new OmsConfOption();
        if (reqDto != null) {
            omsConfOption.setConfOptionId(reqDto.getConfOptionId());//SimpleFieldAssign//sourceId:59980_1
            omsConfOption.setConfOptionName(reqDto.getConfOptionName());//SimpleFieldAssign//sourceId:59982_1
            omsConfOption.setConfOptionDes(reqDto.getConfOptionDes());//SimpleFieldAssign//sourceId:59983_1
        }

        /*2-3-01修改配置选项[1910]   */
        Assert.isNull(omsConfOption.getConfOptionId(), "D2-3修改配置选项-2-3-01修改配置选项-选项ID不能为空", false);
        bOOLEAN = mOmsConfOptionService.updateConfOption(omsConfOption)/*vcase invoke 本地 method 方法调用;*/;


//步骤1: 2-3-03查询配置项下选项关系列表 - queryConfItemOptionList
        List<OmsConfItemOptionRelationship> listOmsConfItemOptionRelationship = new ArrayList<>();
        QueryConfItemOptionListReq queryConfItemOptionListReq = new QueryConfItemOptionListReq();
        queryConfItemOptionListReq.setSubjectLifeCycle("EDITING");//sourceId:103483_1
        if (reqDto != null) {
            queryConfItemOptionListReq.setConfOptionId(reqDto.getConfOptionId());//SimpleFieldAssign//sourceId:103480_1
        }

        /*2-3-03查询配置项下选项关系列表[1918]   */
        Assert.isNull(queryConfItemOptionListReq.getConfOptionId(), "D2-3修改配置选项-2-3-03查询配置项下选项关系列表-冗余选项ID不能为空", false);
        Assert.isNull(queryConfItemOptionListReq.getSubjectLifeCycle(), "D2-3修改配置选项-2-3-03查询配置项下选项关系列表-主体生命周期不能为空", false);
        listOmsConfItemOptionRelationship = mOmsConfItemOptionRelationshipService.queryConfItemOptionList(queryConfItemOptionListReq)/*vcase invoke 本地 method 方法调用;*/;


//步骤2: 2-3-03批量修改配置项下选项关系 - batchUpdateConfItemOption
        boolean bOOLEAN_1;
        if (listOmsConfItemOptionRelationship != null && !CollectionUtil.isEmpty(listOmsConfItemOptionRelationship) && listOmsConfItemOptionRelationship.size() > 0) {
            List<OmsConfItemOptionRelationship> listOmsConfItemOptionRelationship_2 = new ArrayList<>();
            if (listOmsConfItemOptionRelationship != null && !CollectionUtil.isEmpty(listOmsConfItemOptionRelationship) && listOmsConfItemOptionRelationship != null && !CollectionUtil.isEmpty(listOmsConfItemOptionRelationship)) {
                listOmsConfItemOptionRelationship_2 = //objList-to-objLists
                        listOmsConfItemOptionRelationship.stream().map(item -> {
                            OmsConfItemOptionRelationship elm = new OmsConfItemOptionRelationship();
                            elm.setConfOptionRshipId(item.getConfOptionRshipId());//SimpleFieldAssign//sourceId:57222_2
                            if (reqDto != null) {
                                elm.setConfOptionName(reqDto.getConfOptionName());//两个数组关联数量不一致; 导致逐个赋值; 有概率付错值; //SimpleFieldAssign//sourceId:57228_2
                            }
                            return elm;
                        }).collect(Collectors.toList());//objList-to-objLists//sourceId:103482_1
            }

            /*2-3-03批量修改配置项下选项关系[2044]   */

            bOOLEAN_1 = mOmsConfItemOptionRelationshipService.batchUpdateConfItemOption(listOmsConfItemOptionRelationship_2)/*vcase invoke 本地 method 方法调用;*/;


        }

        UpdateConfOptionRespDto retData = new UpdateConfOptionRespDto();


        return retData;
    }

    /**
     * D2-3新增配置项下选项关系[3323]
     * gen by moon at 9/19/2022, 6:26:09 PM
     */
    @Trace(operationName = "D2-3新增配置项下选项关系")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public AddConfItemOptionRespDto addConfItemOption(AddConfItemOptionReqDto reqDto) {


        String string_1 = null;
//步骤0: 2-3-03查询配置项下选项关系列表 - queryConfItemOptionList
        List<OmsConfItemOptionRelationship> listOmsConfItemOptionRelationship = new ArrayList<>();
        QueryConfItemOptionListReq queryConfItemOptionListReq = new QueryConfItemOptionListReq();
        queryConfItemOptionListReq.setIsArchive("FALSE");//sourceId:334046_1
        if (reqDto != null) {
            queryConfItemOptionListReq.setConfItemId(reqDto.getConfItemId());//sourceId:334048_1
        }

        /*2-3-03查询配置项下选项关系列表[1918]   */
        Assert.isNull(queryConfItemOptionListReq.getConfItemId(), "D2-3新增配置项下选项关系-2-3-03查询配置项下选项关系列表-冗余配置项ID不能为空", false);
        Assert.isNull(queryConfItemOptionListReq.getIsArchive(), "D2-3新增配置项下选项关系-2-3-03查询配置项下选项关系列表-是否存档不能为空", false);
        listOmsConfItemOptionRelationship = mOmsConfItemOptionRelationshipService.queryConfItemOptionList(queryConfItemOptionListReq);


//步骤1: M2-获取数据集最大值加一（特殊方法） - obtainMaxOfCollectionsAddOne
        //ModelCode: maxOfMultipleNumAddOne
        ObtainMaxOfCollectionsAddOneRespDto maxOfMultipleNumAddOneRes = null;
        // TODO: 2022/9/19 胡睿哲，晓东，为空正常执行，手写
//    if(listOmsConfItemOptionRelationship !=null&& listOmsConfItemOptionRelationship.size()>0 ){
        ObtainMaxOfCollectionsAddOneReqDto maxOfMultipleNumAddOneReq = new ObtainMaxOfCollectionsAddOneReqDto();
        maxOfMultipleNumAddOneReq.setMaxOfMultipleNumList(listOmsConfItemOptionRelationship.stream().map(item -> item.getOrderNumber())
                .collect(Collectors.toList()));//sourceId:334986_1

        /*M2-获取数据集最大值加一（特殊方法）[4617]  用于取数据集中最大的数值，在最大数值基础上加一，输出 */

        maxOfMultipleNumAddOneRes = nbConfScheme.obtainMaxOfCollectionsAddOne(maxOfMultipleNumAddOneReq);


//           }

//步骤2: 2-3-03新增配置项下选项关系 - addConfItemOption
        String string = null;
        OmsConfItemOptionRelationship omsConfItemOptionRelationship = new OmsConfItemOptionRelationship();
        if (reqDto != null) {
            omsConfItemOptionRelationship.setConfItemId(reqDto.getConfItemId());//sourceId:128755_1
            omsConfItemOptionRelationship.setConfItemCode(reqDto.getConfItemCode());//sourceId:128751_1
            omsConfItemOptionRelationship.setConfOptionId(reqDto.getConfOptionId());//sourceId:128756_1
            omsConfItemOptionRelationship.setConfOptionCode(reqDto.getConfOptionCode());//sourceId:128752_1
            omsConfItemOptionRelationship.setConfOptionName(reqDto.getConfOptionName());//sourceId:128757_1
        }
        if (maxOfMultipleNumAddOneRes != null) {
            omsConfItemOptionRelationship.setOrderNumber(maxOfMultipleNumAddOneRes.getOrderNumber());//sourceId:334041_1
        }

        /*2-3-03新增配置项下选项关系[1914]   */
        Assert.isNull(omsConfItemOptionRelationship.getConfItemId(), "D2-3新增配置项下选项关系-2-3-03新增配置项下选项关系-冗余配置项ID不能为空", false);
        Assert.isNull(omsConfItemOptionRelationship.getConfItemCode(), "D2-3新增配置项下选项关系-2-3-03新增配置项下选项关系-配置项标识不能为空", false);
        Assert.isNull(omsConfItemOptionRelationship.getConfOptionId(), "D2-3新增配置项下选项关系-2-3-03新增配置项下选项关系-冗余选项ID不能为空", false);
        Assert.isNull(omsConfItemOptionRelationship.getConfOptionCode(), "D2-3新增配置项下选项关系-2-3-03新增配置项下选项关系-选项标识不能为空", false);
        Assert.isNull(omsConfItemOptionRelationship.getConfOptionName(), "D2-3新增配置项下选项关系-2-3-03新增配置项下选项关系-冗余选项名称不能为空", false);
        Assert.isNull(omsConfItemOptionRelationship.getOrderNumber(), "D2-3新增配置项下选项关系-2-3-03新增配置项下选项关系-排序不能为空", false);
        string = mOmsConfItemOptionRelationshipService.addConfItemOption(omsConfItemOptionRelationship);


        string_1 = string;

        AddConfItemOptionRespDto retData = new AddConfItemOptionRespDto();
        if (string_1 != null) {
            retData.setConfOptionRshipId(string_1);//sourceId:128763_1
        }


        return retData;
    }

    /**
     * D2-3查询配置项下选项关系列表[2053]
     * gen by moon at 5/3/2023, 10:15:25 AM
     */
    @Trace(operationName = "D2-3查询配置项下选项关系列表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryConfItemOptionListRespDto queryConfItemOptionList(QueryConfItemOptionListReqDto reqDto) {


        List<OmsConfItemOptionRelationship> listOmsConfItemOptionRelationship_1 = new ArrayList<>();
        List<OmsConfOption> listOmsConfOption_1 = new ArrayList<>();
        //步骤0: 2-3-03查询配置项下选项关系列表 - queryConfItemOptionList
        List<OmsConfItemOptionRelationship> listOmsConfItemOptionRelationship = new ArrayList<>();
        QueryConfItemOptionListReq queryConfItemOptionListReq = new QueryConfItemOptionListReq();
        if (reqDto != null) {
            queryConfItemOptionListReq.setConfItemId(reqDto.getConfItemId());//SimpleFieldAssign//sourceId:62790_1
            queryConfItemOptionListReq.setConfItemCode(reqDto.getConfItemCode());//SimpleFieldAssign//sourceId:62794_1
        }

        /*2-3-03查询配置项下选项关系列表[1918]   */

        listOmsConfItemOptionRelationship = mOmsConfItemOptionRelationshipService.queryConfItemOptionList(queryConfItemOptionListReq)/*vcase invoke 本地 method 方法调用;*/;


        listOmsConfItemOptionRelationship_1 = listOmsConfItemOptionRelationship;

//步骤1: 2-3-01批量查询配置选项列表 - batchQueryConfOptionList
        List<OmsConfOption> listOmsConfOption = new ArrayList<>();
        if (listOmsConfItemOptionRelationship != null && !CollectionUtil.isEmpty(listOmsConfItemOptionRelationship) && listOmsConfItemOptionRelationship.size() > 0) {
            BatchQueryConfOptionListReq batchQueryConfOptionListReq = new BatchQueryConfOptionListReq();
            if (listOmsConfItemOptionRelationship != null && !CollectionUtil.isEmpty(listOmsConfItemOptionRelationship) && listOmsConfItemOptionRelationship != null && !CollectionUtil.isEmpty(listOmsConfItemOptionRelationship)) {
                batchQueryConfOptionListReq.setConfOptionList(listOmsConfItemOptionRelationship.stream().map(item -> item.getConfOptionId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:59889_1
            }

            /*2-3-01批量查询配置选项列表[1998]   */

            listOmsConfOption = mOmsConfOptionService.batchQueryConfOptionList(batchQueryConfOptionListReq)/*vcase invoke 本地 method 方法调用;*/;


            listOmsConfOption_1 = listOmsConfOption;
        }

        QueryConfItemOptionListRespDto retData = new QueryConfItemOptionListRespDto();
        //数据集融合  MoreListToOneSource
        if (listOmsConfItemOptionRelationship_1 != null && !CollectionUtil.isEmpty(listOmsConfItemOptionRelationship_1) && !CollectionUtil.isEmpty(listOmsConfItemOptionRelationship_1)) {
            for (OmsConfItemOptionRelationship omsConfItemOptionRelationship : listOmsConfItemOptionRelationship_1) {
                ConfItemOptionDto retElm = new ConfItemOptionDto();
                retElm.setConfOptionRshipId(omsConfItemOptionRelationship.getConfOptionRshipId());//SimpleFieldAssign//sourceId:57460_2
                retElm.setConfOptionId(omsConfItemOptionRelationship.getConfOptionId());//SimpleFieldAssign//sourceId:57461_2
                retElm.setConfOptionCode(omsConfItemOptionRelationship.getConfOptionCode());//SimpleFieldAssign//sourceId:57462_2
                retElm.setConfOptionName(omsConfItemOptionRelationship.getConfOptionName());//SimpleFieldAssign//sourceId:57463_2
                retElm.setConfItemId(omsConfItemOptionRelationship.getConfItemId());//SimpleFieldAssign//sourceId:57464_2
                retElm.setConfItemCode(omsConfItemOptionRelationship.getConfItemCode());//SimpleFieldAssign//sourceId:57465_2
                retData.getConfItemOptionList().add(retElm);
                if (listOmsConfOption_1 != null && !CollectionUtil.isEmpty(listOmsConfOption_1)) {
                    for (OmsConfOption omsConfOption : listOmsConfOption_1) {
                        if (omsConfOption.getConfOptionId().equals(omsConfItemOptionRelationship.getConfOptionId())) {
                            retElm.setConfOptionDes(omsConfOption.getConfOptionDes());//SimpleFieldAssign//sourceId:57466_2
                        }
                    }
                }

            }
        }//sourceId:59894_1


        return retData;
    }

    /**
     * D2-3查询配置项列表[2052]
     * gen by moon at 10/27/2022, 5:04:15 AM
     */
    @Trace(operationName = "D2-3查询配置项列表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryConfItemListRespDto queryConfItemList(QueryConfItemListReqDto reqDto) {


        List<OmsConfItem> listOmsConfItem_1 = new ArrayList<>();
//步骤0: 2-3-02查询配置项列表 - queryConfItemList
        List<OmsConfItem> listOmsConfItem = new ArrayList<>();
        QueryConfItemListReq queryConfItemListReq = new QueryConfItemListReq();
        if (reqDto != null) {
            queryConfItemListReq.setApplyTypeCode(reqDto.getApplyTypeCode());//SimpleFieldAssign//sourceId:59837_1
            queryConfItemListReq.setShortName(reqDto.getShortName());//SimpleFieldAssign//sourceId:59836_1
            queryConfItemListReq.setBizAppCode(reqDto.getBizAppCode());//SimpleFieldAssign//sourceId:59839_1
            queryConfItemListReq.setBizSceneCode(reqDto.getBizSceneCode());//SimpleFieldAssign//sourceId:388658_1
            queryConfItemListReq.setConfItemCategory(reqDto.getConfItemCategory());//SimpleFieldAssign//sourceId:59838_1
            queryConfItemListReq.setIsVisible(reqDto.getIsVisible());//SimpleFieldAssign//sourceId:59849_1
            queryConfItemListReq.setIsOpenCustomConf(reqDto.getIsOpenCustomConf());//SimpleFieldAssign//sourceId:59850_1
            queryConfItemListReq.setIsBusiness(reqDto.getIsBusiness());//SimpleFieldAssign//sourceId:59841_1
            queryConfItemListReq.setIsArchive(reqDto.getIsArchive());//SimpleFieldAssign//sourceId:59842_1
        }

        /*2-3-02查询配置项列表[1906]   */
        Assert.isNull(queryConfItemListReq.getIsArchive(), "D2-3查询配置项列表-2-3-02查询配置项列表-是否存档不能为空", false);
        listOmsConfItem = mOmsConfItemService.queryConfItemList(queryConfItemListReq);


        listOmsConfItem_1 = listOmsConfItem;

        QueryConfItemListRespDto retData = new QueryConfItemListRespDto();
        retData.setConfItemList(listOmsConfItem_1.stream().map(item -> BeanUtil.toBean(item, ConfItemDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:59860_1


        return retData;
    }

    /**
     * D2-3发布配置方案[2040]
     * gen by moon at 5/3/2023, 10:15:23 AM
     */
    @Trace(operationName = "D2-3发布配置方案")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public ReleaseConfSchemeRespDto releaseConfScheme(ReleaseConfSchemeReqDto reqDto) {


        //步骤0: 2-3-05查询配置方案下分组列表 - queryConfItemClassList
        List<OmsConfItemClass> listOmsConfItemClass = new ArrayList<>();
        QueryConfItemClassListReq queryConfItemClassListReq = new QueryConfItemClassListReq();
        queryConfItemClassListReq.setIsArchive("FALSE");//sourceId:317374_1
        if (reqDto != null) {
            queryConfItemClassListReq.setConfSchemeId(reqDto.getConfSchemeId());//SimpleFieldAssign//sourceId:59559_1
        }

        /*2-3-05查询配置方案下分组列表[1929]   */
        Assert.isNull(queryConfItemClassListReq.getConfSchemeId(), "D2-3发布配置方案-2-3-05查询配置方案下分组列表-所属配置方案ID不能为空", false);
        Assert.isNull(queryConfItemClassListReq.getIsArchive(), "D2-3发布配置方案-2-3-05查询配置方案下分组列表-是否存档不能为空", false);
        listOmsConfItemClass = mOmsConfItemClassService.queryConfItemClassList(queryConfItemClassListReq)/*vcase invoke 本地 method 方法调用;*/;


//步骤1: 2-3-05批量修改配置方案下分组 - batchUpdateConfItemClass
        boolean bOOLEAN;
        if (listOmsConfItemClass != null && !CollectionUtil.isEmpty(listOmsConfItemClass) && listOmsConfItemClass.size() > 0 && listOmsConfItemClass != null && !CollectionUtil.isEmpty(listOmsConfItemClass) && listOmsConfItemClass != null && !CollectionUtil.isEmpty(listOmsConfItemClass) && listOmsConfItemClass.size() > 0) {
            List<OmsConfItemClass> listOmsConfItemClass_2 = new ArrayList<>();
            if (listOmsConfItemClass != null && !CollectionUtil.isEmpty(listOmsConfItemClass) && listOmsConfItemClass != null && !CollectionUtil.isEmpty(listOmsConfItemClass)) {
                listOmsConfItemClass_2 = listOmsConfItemClass.stream().map(item -> {
                    OmsConfItemClass elm = BeanUtil.toBean(item, OmsConfItemClass.class);
                    elm.setSubjectLifeCycle("CURRENTLY_VALID");

                    return elm;
                }).collect(Collectors.toList());//objList-to-objLists//sourceId:59665_1
            }

            /*2-3-05批量修改配置方案下分组（发布）[2047]   */

            bOOLEAN = mOmsConfItemClassService.batchUpdateConfItemClass(listOmsConfItemClass_2)/*vcase invoke 本地 method 方法调用;*/;


        }

//步骤2: 2-3-06批量查询分组下配置项列表 - batchQueryConfClassItemList
        List<OmsConfClassItem> listOmsConfClassItem = new ArrayList<>();
        if (listOmsConfItemClass != null && !CollectionUtil.isEmpty(listOmsConfItemClass) && listOmsConfItemClass.size() > 0 && listOmsConfItemClass != null && !CollectionUtil.isEmpty(listOmsConfItemClass) && listOmsConfItemClass != null && !CollectionUtil.isEmpty(listOmsConfItemClass) && listOmsConfItemClass.size() > 0) {
            BatchQueryConfClassItemListReq batchQueryConfClassItemListReq = new BatchQueryConfClassItemListReq();
            batchQueryConfClassItemListReq.setIsArchive("FALSE");//sourceId:317369_1
            if (listOmsConfItemClass != null && !CollectionUtil.isEmpty(listOmsConfItemClass) && listOmsConfItemClass != null && !CollectionUtil.isEmpty(listOmsConfItemClass)) {
                batchQueryConfClassItemListReq.setConfClassItemList(listOmsConfItemClass.stream().map(item -> item.getConfItemClassId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:59563_1
            }

            /*2-3-06批量查询分组下配置项列表[2023]   */
            Assert.isNull(batchQueryConfClassItemListReq.getIsArchive(), "D2-3发布配置方案-2-3-06批量查询分组下配置项列表-是否存档不能为空", false);
            listOmsConfClassItem = mOmsConfClassItemService.batchQueryConfClassItemList(batchQueryConfClassItemListReq)/*vcase invoke 本地 method 方法调用;*/;


        }

//步骤3: 2-3-06批量修改分组下配置项 - batchUpdateConfClassItem
        boolean bOOLEAN_1;
        if (listOmsConfClassItem != null && !CollectionUtil.isEmpty(listOmsConfClassItem) && listOmsConfClassItem.size() > 0 && listOmsConfClassItem != null && !CollectionUtil.isEmpty(listOmsConfClassItem) && listOmsConfClassItem != null && !CollectionUtil.isEmpty(listOmsConfClassItem) && listOmsConfClassItem.size() > 0) {
            List<OmsConfClassItem> listOmsConfClassItem_2 = new ArrayList<>();
            if (listOmsConfClassItem != null && !CollectionUtil.isEmpty(listOmsConfClassItem) && listOmsConfClassItem != null && !CollectionUtil.isEmpty(listOmsConfClassItem)) {
                listOmsConfClassItem_2 = listOmsConfClassItem.stream().map(item -> {
                    OmsConfClassItem elm = BeanUtil.toBean(item, OmsConfClassItem.class);
                    elm.setSubjectLifeCycle("CURRENTLY_VALID");

                    return elm;
                }).collect(Collectors.toList());//objList-to-objLists//sourceId:59654_1
            }

            /*2-3-06批量修改分组下配置项（发布）[2046]   */

            bOOLEAN_1 = mOmsConfClassItemService.batchUpdateConfClassItem(listOmsConfClassItem_2)/*vcase invoke 本地 method 方法调用;*/;


        }

//步骤4: 2-3-02批量查询配置项列表 - batchQueryConfItemList
        List<OmsConfItem> listOmsConfItem = new ArrayList<>();
        if (listOmsConfClassItem != null && !CollectionUtil.isEmpty(listOmsConfClassItem) && listOmsConfClassItem.size() > 0 && listOmsConfClassItem != null && !CollectionUtil.isEmpty(listOmsConfClassItem) && listOmsConfClassItem != null && !CollectionUtil.isEmpty(listOmsConfClassItem) && listOmsConfClassItem.size() > 0) {
            BatchQueryConfItemListReq batchQueryConfItemListReq = new BatchQueryConfItemListReq();
            batchQueryConfItemListReq.setSubjectLifeCycle("EDITING");//sourceId:104097_1
            if (listOmsConfClassItem != null && !CollectionUtil.isEmpty(listOmsConfClassItem) && listOmsConfClassItem != null && !CollectionUtil.isEmpty(listOmsConfClassItem)) {
                batchQueryConfItemListReq.setConfItemList(listOmsConfClassItem.stream().map(item -> item.getConfItemId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:59567_1
            }

            /*2-3-02批量查询配置项列表[1997]   */
            Assert.isNull(batchQueryConfItemListReq.getSubjectLifeCycle(), "D2-3发布配置方案-2-3-02批量查询配置项列表-主体生命周期不能为空", false);
            listOmsConfItem = mOmsConfItemService.batchQueryConfItemList(batchQueryConfItemListReq)/*vcase invoke 本地 method 方法调用;*/;


        }

//步骤5: 2-3-02批量修改配置项 - batchUpdateConfItem
        boolean bOOLEAN_2;
        if (listOmsConfItem != null && !CollectionUtil.isEmpty(listOmsConfItem) && listOmsConfItem.size() > 0 && listOmsConfItem != null && !CollectionUtil.isEmpty(listOmsConfItem) && listOmsConfItem != null && !CollectionUtil.isEmpty(listOmsConfItem) && listOmsConfItem.size() > 0) {
            List<OmsConfItem> listOmsConfItem_2 = new ArrayList<>();
            if (listOmsConfItem != null && !CollectionUtil.isEmpty(listOmsConfItem) && listOmsConfItem != null && !CollectionUtil.isEmpty(listOmsConfItem)) {
                listOmsConfItem_2 = listOmsConfItem.stream().map(item -> {
                    OmsConfItem elm = BeanUtil.toBean(item, OmsConfItem.class);
                    elm.setIsTemporaryLock("FALSE");
                    elm.setSubjectLifeCycle("CURRENTLY_VALID");

                    return elm;
                }).collect(Collectors.toList());//objList-to-objLists//sourceId:59643_1
            }

            /*2-3-02批量修改配置项（发布）[2045]   */

            bOOLEAN_2 = mOmsConfItemService.batchUpdateConfItem(listOmsConfItem_2)/*vcase invoke 本地 method 方法调用;*/;


        }

//步骤6: 2-3-03批量查询配置项下选项关系列表 - batchQueryConfItemOptionList
        List<OmsConfItemOptionRelationship> listOmsConfItemOptionRelationship = new ArrayList<>();
        if (listOmsConfItem != null && !CollectionUtil.isEmpty(listOmsConfItem) && listOmsConfItem.size() > 0 && listOmsConfItem != null && !CollectionUtil.isEmpty(listOmsConfItem) && listOmsConfItem != null && !CollectionUtil.isEmpty(listOmsConfItem) && listOmsConfItem.size() > 0) {
            BatchQueryConfItemOptionListReq batchQueryConfItemOptionListReq = new BatchQueryConfItemOptionListReq();
            batchQueryConfItemOptionListReq.setSubjectLifeCycle("EDITING");//sourceId:104098_1
            if (listOmsConfItem != null && !CollectionUtil.isEmpty(listOmsConfItem) && listOmsConfItem != null && !CollectionUtil.isEmpty(listOmsConfItem)) {
                batchQueryConfItemOptionListReq.setConfItemOptionList(listOmsConfItem.stream().map(item -> item.getConfItemId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:59573_1
            }

            /*2-3-03批量查询配置项下选项关系列表[1996]   */
            Assert.isNull(batchQueryConfItemOptionListReq.getSubjectLifeCycle(), "D2-3发布配置方案-2-3-03批量查询配置项下选项关系列表-主体生命周期不能为空", false);
            listOmsConfItemOptionRelationship = mOmsConfItemOptionRelationshipService.batchQueryConfItemOptionList(batchQueryConfItemOptionListReq)/*vcase invoke 本地 method 方法调用;*/;


        }

//步骤7: 2-3-03批量修改配置项下选项关系 - batchUpdateConfItemOption
        boolean bOOLEAN_3;
        if (listOmsConfItemOptionRelationship != null && !CollectionUtil.isEmpty(listOmsConfItemOptionRelationship) && listOmsConfItemOptionRelationship.size() > 0 && listOmsConfItemOptionRelationship != null && !CollectionUtil.isEmpty(listOmsConfItemOptionRelationship) && listOmsConfItemOptionRelationship != null && !CollectionUtil.isEmpty(listOmsConfItemOptionRelationship) && listOmsConfItemOptionRelationship.size() > 0) {
            List<OmsConfItemOptionRelationship> listOmsConfItemOptionRelationship_2 = new ArrayList<>();
            if (listOmsConfItemOptionRelationship != null && !CollectionUtil.isEmpty(listOmsConfItemOptionRelationship) && listOmsConfItemOptionRelationship != null && !CollectionUtil.isEmpty(listOmsConfItemOptionRelationship)) {
                listOmsConfItemOptionRelationship_2 = listOmsConfItemOptionRelationship.stream().map(item -> {
                    OmsConfItemOptionRelationship elm = BeanUtil.toBean(item, OmsConfItemOptionRelationship.class);
                    elm.setSubjectLifeCycle("CURRENTLY_VALID");

                    return elm;
                }).collect(Collectors.toList());//objList-to-objLists//sourceId:59629_1
            }

            /*2-3-03批量修改配置项下选项关系（发布）[2044]   */

            bOOLEAN_3 = mOmsConfItemOptionRelationshipService.batchUpdateConfItemOption(listOmsConfItemOptionRelationship_2)/*vcase invoke 本地 method 方法调用;*/;


        }

//步骤8: 2-3-01批量查询配置选项列表 - batchQueryConfOptionList
        List<OmsConfOption> listOmsConfOption = new ArrayList<>();
        if (listOmsConfItemOptionRelationship != null && !CollectionUtil.isEmpty(listOmsConfItemOptionRelationship) && listOmsConfItemOptionRelationship.size() > 0 && listOmsConfItemOptionRelationship != null && !CollectionUtil.isEmpty(listOmsConfItemOptionRelationship) && listOmsConfItemOptionRelationship != null && !CollectionUtil.isEmpty(listOmsConfItemOptionRelationship) && listOmsConfItemOptionRelationship.size() > 0) {
            BatchQueryConfOptionListReq batchQueryConfOptionListReq = new BatchQueryConfOptionListReq();
            batchQueryConfOptionListReq.setIsTemporaryLock("TRUE");//sourceId:59684_1
            if (listOmsConfItemOptionRelationship != null && !CollectionUtil.isEmpty(listOmsConfItemOptionRelationship) && listOmsConfItemOptionRelationship != null && !CollectionUtil.isEmpty(listOmsConfItemOptionRelationship)) {
                batchQueryConfOptionListReq.setConfOptionList(listOmsConfItemOptionRelationship.stream().map(item -> item.getConfOptionId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:59575_1
            }

            /*2-3-01批量查询配置选项列表[1998]   */
            Assert.isNull(batchQueryConfOptionListReq.getIsTemporaryLock(), "D2-3发布配置方案-2-3-01批量查询配置选项列表-临时自动锁定不能为空", false);
            listOmsConfOption = mOmsConfOptionService.batchQueryConfOptionList(batchQueryConfOptionListReq)/*vcase invoke 本地 method 方法调用;*/;


        }

//步骤9: 2-3-01批量修改配置选项 - batchUpdateConfOption
        boolean bOOLEAN_4;
        if (listOmsConfOption != null && !CollectionUtil.isEmpty(listOmsConfOption) && listOmsConfOption.size() > 0 && listOmsConfOption != null && !CollectionUtil.isEmpty(listOmsConfOption) && listOmsConfOption != null && !CollectionUtil.isEmpty(listOmsConfOption) && listOmsConfOption.size() > 0) {
            List<OmsConfOption> listOmsConfOption_2 = new ArrayList<>();
            if (listOmsConfOption != null && !CollectionUtil.isEmpty(listOmsConfOption) && listOmsConfOption != null && !CollectionUtil.isEmpty(listOmsConfOption)) {
                listOmsConfOption_2 = listOmsConfOption.stream().map(item -> {
                    OmsConfOption elm = BeanUtil.toBean(item, OmsConfOption.class);
                    elm.setIsTemporaryLock("FALSE");
                    elm.setSubjectLifeCycle("CURRENTLY_VALID");

                    return elm;
                }).collect(Collectors.toList());//objList-to-objLists//sourceId:59618_1
            }

            /*2-3-03批量修改配置选项（发布）[2043]   */

            bOOLEAN_4 = mOmsConfOptionService.batchUpdateConfOption(listOmsConfOption_2)/*vcase invoke 本地 method 方法调用;*/;


        }

//步骤10: 2-3-07查询方案下选项配置结果列表 - queryConfItemResultList
        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult = new ArrayList<>();
        QueryConfItemResultListReq queryConfItemResultListReq = new QueryConfItemResultListReq();
        queryConfItemResultListReq.setIsPlatData("TRUE");//sourceId:114975_1
        if (reqDto != null) {
            queryConfItemResultListReq.setConfSchemeId(reqDto.getConfSchemeId());//SimpleFieldAssign//sourceId:114979_1
        }

        /*2-3-07查询方案下选项配置结果列表[1940]   */
        Assert.isNull(queryConfItemResultListReq.getConfSchemeId(), "D2-3发布配置方案-2-3-07查询方案下选项配置结果列表-配置方案ID 不能为空", false);
        Assert.isNull(queryConfItemResultListReq.getIsPlatData(), "D2-3发布配置方案-2-3-07查询方案下选项配置结果列表-是否标准答案不能为空", false);
        listOmsConfSchemeOptionResult = mOmsConfSchemeOptionResultService.queryConfItemResultList(queryConfItemResultListReq)/*vcase invoke 本地 method 方法调用;*/;


//步骤11: 2-3-07批量修改方案下选项配置结果 - batchUpdateConfItemResult
        boolean bOOLEAN_5;
        if (listOmsConfSchemeOptionResult != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult) && listOmsConfSchemeOptionResult.size() > 0) {
            List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult_2 = new ArrayList<>();
            if (listOmsConfSchemeOptionResult != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult) && listOmsConfSchemeOptionResult != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult)) {
                listOmsConfSchemeOptionResult_2 = listOmsConfSchemeOptionResult.stream().map(item -> {
                    OmsConfSchemeOptionResult elm = BeanUtil.toBean(item, OmsConfSchemeOptionResult.class);
                    elm.setSubjectLifeCycle("CURRENTLY_VALID");

                    return elm;
                }).collect(Collectors.toList());//objList-to-objLists//sourceId:59605_1
            }

            /*2-3-07批量修改方案下选项配置结果（发布）[2042]   */

            bOOLEAN_5 = mOmsConfSchemeOptionResultService.batchUpdateConfItemResult(listOmsConfSchemeOptionResult_2)/*vcase invoke 本地 method 方法调用;*/;


        }

//步骤12: 2-3-04修改配置方案 - updateConfScheme
        boolean bOOLEAN_6;
        OmsConfScheme omsConfScheme = new OmsConfScheme();
        omsConfScheme.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:59556_1
        if (reqDto != null) {
            omsConfScheme.setConfSchemeId(reqDto.getConfSchemeId());//SimpleFieldAssign//sourceId:59545_1
        }

        /*2-3-04修改配置方案（发布）[1921]   */
        Assert.isNull(omsConfScheme.getConfSchemeId(), "D2-3发布配置方案-2-3-04修改配置方案（发布）-配置方案ID 不能为空", false);
        Assert.isNull(omsConfScheme.getSubjectLifeCycle(), "D2-3发布配置方案-2-3-04修改配置方案（发布）-生命周期状态不能为空", false);
        bOOLEAN_6 = mOmsConfSchemeService.updateConfScheme(omsConfScheme)/*vcase invoke 本地 method 方法调用;*/;


        ReleaseConfSchemeRespDto retData = new ReleaseConfSchemeRespDto();


        return retData;
    }

    /**
     * D2-3删除配置方案[2036]
     * gen by moon at 7/3/2022, 6:25:32 PM
     */
    @Trace(operationName = "D2-3删除配置方案")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public DeleteConfSchemeRespDto deleteConfScheme(DeleteConfSchemeReqDto reqDto) {


        //步骤0: 2-3-07查询方案下选项配置结果列表 - queryConfItemResultList
        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult = null;
        QueryConfItemResultListReq queryConfItemResultListReq = new QueryConfItemResultListReq();
        queryConfItemResultListReq.setIsPlatData("TRUE");//sourceId:114818_1
        queryConfItemResultListReq.setSubjectLifeCycle("EDITING");//sourceId:114814_1
        if (reqDto != null) {
            queryConfItemResultListReq.setConfSchemeId(reqDto.getConfSchemeId());//sourceId:114822_1
        }

        /*2-3-07查询方案下选项配置结果列表[1940]   */
        listOmsConfSchemeOptionResult = mOmsConfSchemeOptionResultService.queryConfItemResultList(queryConfItemResultListReq);


//步骤1: 2-03-07批量删除方案下选项配置结果 - batchDeleteConfItemResult
        boolean bOOLEAN;
        if (listOmsConfSchemeOptionResult != null && listOmsConfSchemeOptionResult.size() > 0) {
            List<String> batchDeleteConfItemResultReq = new ArrayList<>();
            batchDeleteConfItemResultReq = listOmsConfSchemeOptionResult.stream().map(item -> item.getOptionResultId())
                    .collect(Collectors.toList());

            /*2-03-07批量删除方案下选项配置结果[1988]   */
            bOOLEAN = mOmsConfSchemeOptionResultService.batchDeleteConfItemResult(batchDeleteConfItemResultReq);


        }

//步骤2: 2-3-05查询配置方案下分组列表 - queryConfItemClassList
        List<OmsConfItemClass> listOmsConfItemClass = null;
        QueryConfItemClassListReq queryConfItemClassListReq = new QueryConfItemClassListReq();
        queryConfItemClassListReq.setSubjectLifeCycle("EDITING");//sourceId:59505_1
        if (reqDto != null) {
            queryConfItemClassListReq.setConfSchemeId(reqDto.getConfSchemeId());//sourceId:59504_1
        }

        /*2-3-05查询配置方案下分组列表[1929]   */
        listOmsConfItemClass = mOmsConfItemClassService.queryConfItemClassList(queryConfItemClassListReq);


//步骤3: 2-3-05批量删配置方案下分组 - batchDeleteConfItemClass
        boolean bOOLEAN_1;
        if (listOmsConfItemClass != null && listOmsConfItemClass.size() > 0) {
            List<String> listString = new ArrayList<>();
            listString = listOmsConfItemClass.stream().map(item -> item.getConfItemClassId())
                    .collect(Collectors.toList());//sourceId:59520_1

            /*2-3-05批量删配置方案下分组[2038]   */
            bOOLEAN_1 = mOmsConfItemClassService.batchDeleteConfItemClass(listString);


        }

//步骤4: 2-3-06批量查询分组下配置项列表 - batchQueryConfClassItemList
        List<OmsConfClassItem> listOmsConfClassItem = null;
        if (listOmsConfItemClass != null && listOmsConfItemClass.size() > 0) {
            BatchQueryConfClassItemListReq batchQueryConfClassItemListReq = new BatchQueryConfClassItemListReq();
            batchQueryConfClassItemListReq.setConfClassItemList(listOmsConfItemClass.stream().map(item -> item.getConfItemClassId())
                    .collect(Collectors.toList()));//sourceId:59509_1
            batchQueryConfClassItemListReq.setSubjectLifeCycle("EDITING");//sourceId:59513_1

            /*2-3-06批量查询分组下配置项列表[2023]   */
            listOmsConfClassItem = mOmsConfClassItemService.batchQueryConfClassItemList(batchQueryConfClassItemListReq);


        }

//步骤5: 2-3-06批量删除分组下配置项 - batchDeleteConfClassItem
        boolean bOOLEAN_2;
        if (listOmsConfClassItem != null && listOmsConfClassItem.size() > 0) {
            List<String> listString_1 = new ArrayList<>();
            listString_1 = listOmsConfClassItem.stream().map(item -> item.getConfItemClassId())
                    .collect(Collectors.toList());//sourceId:59518_1

            /*2-3-06批量删除分组下配置项[1989]   */
            bOOLEAN_2 = mOmsConfClassItemService.batchDeleteConfClassItem(listString_1);


        }

//步骤6: 2-3-02批量查询配置项列表 - batchQueryConfItemList
        List<OmsConfItem> listOmsConfItem = null;
        if (listOmsConfClassItem != null && listOmsConfClassItem.size() > 0) {
            BatchQueryConfItemListReq batchQueryConfItemListReq = new BatchQueryConfItemListReq();
            batchQueryConfItemListReq.setConfItemList(listOmsConfClassItem.stream().map(item -> item.getConfItemId())
                    .collect(Collectors.toList()));//sourceId:64680_1
            batchQueryConfItemListReq.setSubjectLifeCycle("EDITING");//sourceId:64682_1
            batchQueryConfItemListReq.setIsTemporaryLock("TRUE");//sourceId:64683_1

            /*2-3-02批量查询配置项列表[1997]   */
            listOmsConfItem = mOmsConfItemService.batchQueryConfItemList(batchQueryConfItemListReq);


        }

//步骤7: 2-3-02批量修改配置项 - batchUpdateConfItem
        boolean bOOLEAN_3;
        if (listOmsConfItem != null && listOmsConfItem.size() > 0) {
            List<OmsConfItem> listOmsConfItem_2 = new ArrayList<>();
            for (OmsConfItem item : listOmsConfItem) {
                OmsConfItem oneItem = new OmsConfItem();
                oneItem.setConfItemId(item.getConfItemId());//sourceId:61585_2
                oneItem.setIsTemporaryLock("FALSE");//sourceId:61586_2

                listOmsConfItem_2.add(oneItem);
            }//sourceId:114811_1

            /*2-3-02批量修改配置项（解除临时锁定）[2045]   */
            bOOLEAN_3 = mOmsConfItemService.batchUpdateConfItem(listOmsConfItem_2);


        }

//步骤8: 2-3-04删除配置方案 - deleteConfScheme
        boolean bOOLEAN_4;
        DeleteConfSchemeReq deleteConfSchemeReq = new DeleteConfSchemeReq();
        if (reqDto != null) {
            deleteConfSchemeReq.setConfSchemeId(reqDto.getConfSchemeId());//sourceId:59521_1
        }

        /*2-3-04删除配置方案[1922]   */
        bOOLEAN_4 = mOmsConfSchemeService.deleteConfScheme(deleteConfSchemeReq);


        DeleteConfSchemeRespDto retData = new DeleteConfSchemeRespDto();


        return retData;
    }

    /**
     * D2-3新增分组下配置项[2035]
     * gen by moon at 8/10/2022, 4:01:44 PM
     */
    @Trace(operationName = "D2-3新增分组下配置项")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public AddConfClassItemRespDto addConfClassItem(AddConfClassItemReqDto reqDto) {


//      String string_1 = null;
//BOOLEAN bOOLEAN_1 = null;
//BOOLEAN bOOLEAN_3 = null;
//String string_3 = null;
////步骤0: 2-3-02新增配置项 - addConfItem
//     String string = null;
//    OmsConfItem omsConfItem=new OmsConfItem();
//  if(reqDto!=null){
//      omsConfItem.setConfItemCode(reqDto.getConfItemCode());//sourceId:62473_1
//omsConfItem.setConfItemName(reqDto.getConfItemName());//sourceId:62474_1
//omsConfItem.setShortName(reqDto.getShortName());//sourceId:62475_1
//omsConfItem.setConfItemDes(reqDto.getConfItemDes());//sourceId:62476_1
//omsConfItem.setApplyTypeCode(reqDto.getApplyTypeCode());//sourceId:62477_1
//omsConfItem.setConfItemCategory(reqDto.getConfItemCategory());//sourceId:62478_1
//omsConfItem.setBizAppId(reqDto.getBizAppId());//sourceId:62479_1
//omsConfItem.setIsVisible(reqDto.getIsVisible());//sourceId:62480_1
//omsConfItem.setIsOpenCustomConf(reqDto.getIsOpenCustomConf());//sourceId:62481_1
//omsConfItem.setIsSwitch(reqDto.getIsSwitch());//sourceId:136369_1
//omsConfItem.setIsBusiness(reqDto.getIsBusiness());//sourceId:62483_1
//    }
//
//    /*2-3-02新增配置项[1903]   */
//    Assert.isNull(omsConfItem.getConfItemCode(),"D2-3新增分组下配置项-2-3-02新增配置项-配置项标识不能为空",false);
//Assert.isNull(omsConfItem.getConfItemName(),"D2-3新增分组下配置项-2-3-02新增配置项-配置项名称不能为空",false);
//Assert.isNull(omsConfItem.getShortName(),"D2-3新增分组下配置项-2-3-02新增配置项-配置项简称不能为空",false);
//Assert.isNull(omsConfItem.getApplyTypeCode(),"D2-3新增分组下配置项-2-3-02新增配置项-适用方案类型不能为空",false);
//Assert.isNull(omsConfItem.getConfItemCategory(),"D2-3新增分组下配置项-2-3-02新增配置项-选项类型不能为空",false);
//Assert.isNull(omsConfItem.getBizAppId(),"D2-3新增分组下配置项-2-3-02新增配置项-归属业务应用不能为空",false);
//Assert.isNull(omsConfItem.getIsOpenCustomConf(),"D2-3新增分组下配置项-2-3-02新增配置项-是否开启自定义配置不能为空",false);
//Assert.isNull(omsConfItem.getIsBusiness(),"D2-3新增分组下配置项-2-3-02新增配置项-是否商业参数不能为空",false);
//      string = mOmsConfItemService.addConfItem(omsConfItem);
//
//      string_1 = string;
//
////步骤1: 2-3-02批量新增配置选项 - batchAddConfOption
//     boolean bOOLEAN ;
//    List<OmsConfOption> listOmsConfOption=new ArrayList<>();
//  listOmsConfOption=listOmsConfOption;;//sourceId:62491_1
//
//    /*2-3-02批量新增配置选项[2153]   */
//
//      bOOLEAN = mOmsConfOptionService.batchAddConfOption(listOmsConfOption);
//
//      bOOLEAN_1 = bOOLEAN;
//
////步骤2: 2-3-03批量新增配置项下选项关系 - batchAddConfItemOption
//     boolean bOOLEAN_2 ;
//    if(bOOLEAN !=null){
//          List<OmsConfItemOptionRelationship> listOmsConfItemOptionRelationship=new ArrayList<>();
//  if(bOOLEAN!=null){
//      for (BOOLEAN item : bOOLEAN.getConfOptionList()) {
//                OmsConfItemOptionRelationship oneItem = new OmsConfItemOptionRelationship();
//                if(string!=null){
//      oneItem.setConfItemId(string);//sourceId:57005_2
//    }
//if(reqDto!=null){
//      oneItem.setConfItemCode(reqDto.getConfItemCode());//sourceId:57006_2
//oneItem.setConfOptionCode(reqDto.getConfOptionList().getConfOptionCode());//sourceId:34712_2
//oneItem.setConfOptionName(reqDto.getConfOptionList().getConfOptionName());//sourceId:34713_2
//oneItem.setOrderNumber(reqDto.getConfItemOptionList().getOrderNumber());//sourceId:34714_2
//    }
//if(bOOLEAN!=null){
//      oneItem.setConfOptionId(item);//sourceId:34711_2
//    }
//
//                listOmsConfItemOptionRelationship.add(oneItem);
//            }//sourceId:62495_1
//    }
//
//    /*2-3-03批量新增配置项下选项关系[2154]   */
//
//      bOOLEAN_2 = mOmsConfItemOptionRelationshipService.batchAddConfItemOption(listOmsConfItemOptionRelationship);
//
//      bOOLEAN_3 = bOOLEAN_2;
//           }
//
////步骤3: 2-3-06新增分组下配置项 - addConfClassItem
//     String string_2 = null;
//    if(string !=null){
//          OmsConfClassItem omsConfClassItem=new OmsConfClassItem();
//  if(reqDto!=null){
//      omsConfClassItem.setConfItemClassId(reqDto.getConfItemClassId());//sourceId:63065_1
//omsConfClassItem.setConfItemClassCode(reqDto.getConfItemClassCode());//sourceId:67416_1
//omsConfClassItem.setConfItemCode(reqDto.getConfItemCode());//sourceId:59486_1
//omsConfClassItem.setConfSchemeId(reqDto.getConfSchemeId());//sourceId:59487_1
//omsConfClassItem.setConfSchemeCode(reqDto.getConfSchemeCode());//sourceId:59488_1
//omsConfClassItem.setOrderNumber(reqDto.getOrderNumber());//sourceId:59489_1
//    }
//if(string!=null){
//      omsConfClassItem.setConfItemId(string);//sourceId:59485_1
//    }
//
//    /*2-3-06新增分组下配置项[1930]   */
//    Assert.isNull(omsConfClassItem.getConfItemClassId(),"D2-3新增分组下配置项-2-3-06新增分组下配置项-所属配置项分组ID不能为空",false);
//Assert.isNull(omsConfClassItem.getConfItemClassCode(),"D2-3新增分组下配置项-2-3-06新增分组下配置项-所属配置项分组标识不能为空",false);
//Assert.isNull(omsConfClassItem.getConfItemId(),"D2-3新增分组下配置项-2-3-06新增分组下配置项-配置项ID不能为空",false);
//Assert.isNull(omsConfClassItem.getConfItemCode(),"D2-3新增分组下配置项-2-3-06新增分组下配置项-配置项标识不能为空",false);
//Assert.isNull(omsConfClassItem.getConfSchemeId(),"D2-3新增分组下配置项-2-3-06新增分组下配置项-所属配置方案ID不能为空",false);
//Assert.isNull(omsConfClassItem.getConfSchemeCode(),"D2-3新增分组下配置项-2-3-06新增分组下配置项-所属配置方案标识不能为空",false);
//Assert.isNull(omsConfClassItem.getOrderNumber(),"D2-3新增分组下配置项-2-3-06新增分组下配置项-排序不能为空",false);
//      string_2 = mOmsConfClassItemService.addConfClassItem(omsConfClassItem);
//
//      string_3 = string_2;
//           }

        AddConfClassItemRespDto retData = new AddConfClassItemRespDto();
        //todo dong 未找到匹配生成策略,请检查生成策略retData.setConfOptionList(bOOLEAN_1.getConfOptionList().getConfOptionId()),数据源项; to( ==>tableName:undefined, fieldEnname:confOptionList ,uniqueId: 62518_1 uniqueSourceId:out_null_null) from (varName:undefined fieldundefined)
//todo dong 未找到匹配生成策略,请检查生成策略retData.setConfItemOptionList(bOOLEAN_3.getConfItemOptionList().getConfOptionRshipId()),数据源项; to( ==>tableName:undefined, fieldEnname:confItemOptionList ,uniqueId: 62519_1 uniqueSourceId:out_null_null) from (varName:undefined fieldundefined)
//if(string_1!=null){
//      retData.setConfItemId(string_1);//sourceId:62520_1
//    }
//if(string_3!=null){
//      retData.setClassConfItemId(string_3);//sourceId:59497_1
//    }
//


        return retData;
    }

    /**
     * D2-3查询过滤方案下配置项列表[2022]
     * gen by moon at 2022/7/3 下午5:11:58
     */
    @Trace(operationName = "D2-3查询过滤方案下配置项列表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryFilterConfItemSchemeListRespDto queryFilterConfItemSchemeList(QueryFilterConfItemSchemeListReqDto reqDto) {


        //步骤0: 2-3-02查询配置项列表 - queryConfItemList
        List<OmsConfItem> listOmsConfItem = null;
        QueryConfItemListReq queryConfItemListReq = new QueryConfItemListReq();
        queryConfItemListReq.setIsArchive("FALSE");//sourceId:59000_1
        if (reqDto != null) {
            queryConfItemListReq.setShortName(reqDto.getShortName());//sourceId:58989_1
            queryConfItemListReq.setConfItemCategory(reqDto.getConfItemCategory());//sourceId:59029_1
            queryConfItemListReq.setApplyTypeCode(reqDto.getApplyTypeCode());//sourceId:58990_1
        }

        /*2-3-02查询配置项列表[1906]   */
        listOmsConfItem = mOmsConfItemService.queryConfItemList(queryConfItemListReq);


//步骤1: 2-3-05查询配置方案下分组列表 - queryConfItemClassList
        List<OmsConfItemClass> listOmsConfItemClass = null;
        QueryConfItemClassListReq queryConfItemClassListReq = new QueryConfItemClassListReq();
        queryConfItemClassListReq.setIsArchive("FALSE");//sourceId:59003_1
        if (reqDto != null) {
            queryConfItemClassListReq.setConfSchemeId(reqDto.getConfSchemeId());//sourceId:59001_1
        }

        /*2-3-05查询配置方案下分组列表[1929]   */
        listOmsConfItemClass = mOmsConfItemClassService.queryConfItemClassList(queryConfItemClassListReq);


//步骤2: 2-3-06批量查询分组下配置项列表 - batchQueryConfClassItemList
        List<OmsConfClassItem> listOmsConfClassItem = null;
        if (listOmsConfItemClass != null && listOmsConfItemClass.size() > 0) {
            BatchQueryConfClassItemListReq batchQueryConfClassItemListReq = new BatchQueryConfClassItemListReq();
            batchQueryConfClassItemListReq.setConfClassItemList(listOmsConfItemClass.stream().map(item -> item.getConfItemClassId())
                    .collect(Collectors.toList()));//sourceId:59008_1
            batchQueryConfClassItemListReq.setIsArchive("FALSE");//sourceId:59009_1

            /*2-3-06批量查询分组下配置项列表[2023]   */
            listOmsConfClassItem = mOmsConfClassItemService.batchQueryConfClassItemList(batchQueryConfClassItemListReq);


        }

//步骤3: M2-3过滤方案下配置项（特殊方法） - generateConfItem
        //ModelCode: collectionRemoveExistingData
        GenerateConfItemRespDto collectionRemoveExistingDataRes = null;
        if (listOmsConfItem != null && listOmsConfItem.size() > 0) {
            GenerateConfItemReqDto collectionRemoveExistingDataReq = new GenerateConfItemReqDto();
            collectionRemoveExistingDataReq.setConfItemList(listOmsConfItem.stream().map(item -> BeanUtil.toBean(item, ConfItemDto.class)).collect(Collectors.toList()));//sourceId:59014_1
            collectionRemoveExistingDataReq.setConfClassItemList(listOmsConfClassItem.stream().map(item -> item.getConfItemId())
                    .collect(Collectors.toList()));//sourceId:59015_1

            /*M2-3过滤方案下配置项（特殊方法）[2024]  入参两个数据集，通过已存在标识字段匹配，去除第一个数据集中已存在的第二个数据集的数据 */
            collectionRemoveExistingDataRes = nbConfScheme.generateConfItem(collectionRemoveExistingDataReq);


        }

        QueryFilterConfItemSchemeListRespDto retData = new QueryFilterConfItemSchemeListRespDto();
        if (collectionRemoveExistingDataRes != null) {
            retData.setConfItemList(collectionRemoveExistingDataRes.getConfItemList());//sourceId:59023_1
        }


        return retData;
    }

    /**
     * D2-3删除配置方案下分组[1985]
     * gen by moon at 9/2/2022, 5:06:46 PM
     */
    @Trace(operationName = "D2-3删除配置方案下分组")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public DeleteConfItemClassRespDto deleteConfItemClass(DeleteConfItemClassReqDto reqDto) {


        //步骤0: 2-3-05查询配置方案下分组详情 - queryConfItemClassDetail
        OmsConfItemClass omsConfItemClass = null;
        QueryConfItemClassDetailReq queryConfItemClassDetailReq = new QueryConfItemClassDetailReq();
        queryConfItemClassDetailReq.setSubjectLifeCycle("EDITING");//sourceId:115521_1
        if (reqDto != null) {
            queryConfItemClassDetailReq.setConfItemClassId(reqDto.getConfItemClassId());//sourceId:115506_1
        }

        /*2-3-05查询配置方案下分组详情[1928]   */
        Assert.isNull(queryConfItemClassDetailReq.getConfItemClassId(), "D2-3删除配置方案下分组-2-3-05查询配置方案下分组详情-配置方案下分组ID不能为空", false);
        Assert.isNull(queryConfItemClassDetailReq.getSubjectLifeCycle(), "D2-3删除配置方案下分组-2-3-05查询配置方案下分组详情-主体生命周期不能为空", false);
        omsConfItemClass = mOmsConfItemClassService.queryConfItemClassDetail(queryConfItemClassDetailReq);
        Assert.isTrue(omsConfItemClass == null || omsConfItemClass.getConfItemClassId() == null, "返回值不能为空", false);


//步骤1: 2-3-07查询方案下选项配置结果列表 - queryConfItemResultList
        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult = new ArrayList<>();
        if (omsConfItemClass != null) {
            QueryConfItemResultListReq queryConfItemResultListReq = new QueryConfItemResultListReq();
            queryConfItemResultListReq.setIsPlatData("TRUE");//sourceId:114861_1
            queryConfItemResultListReq.setSubjectLifeCycle("EDITING");//sourceId:114857_1
            if (omsConfItemClass != null) {
                queryConfItemResultListReq.setConfSchemeId(omsConfItemClass.getConfSchemeId());//sourceId:114865_1
                queryConfItemResultListReq.setConfItemClassCode(omsConfItemClass.getConfItemClassCode());//sourceId:114867_1
            }

            /*2-3-07查询方案下选项配置结果列表[1940]   */
            Assert.isNull(queryConfItemResultListReq.getConfSchemeId(), "D2-3删除配置方案下分组-2-3-07查询方案下选项配置结果列表-配置方案ID 不能为空", false);
            Assert.isNull(queryConfItemResultListReq.getConfItemClassCode(), "D2-3删除配置方案下分组-2-3-07查询方案下选项配置结果列表-分组标识不能为空", false);
            Assert.isNull(queryConfItemResultListReq.getIsPlatData(), "D2-3删除配置方案下分组-2-3-07查询方案下选项配置结果列表-是否平台数据不能为空", false);
            Assert.isNull(queryConfItemResultListReq.getSubjectLifeCycle(), "D2-3删除配置方案下分组-2-3-07查询方案下选项配置结果列表-主体生命周期不能为空", false);
            listOmsConfSchemeOptionResult = mOmsConfSchemeOptionResultService.queryConfItemResultList(queryConfItemResultListReq);


        }

//步骤2: 2-03-07批量删除方案下选项配置结果 - batchDeleteConfItemResult
        boolean bOOLEAN;
        if (listOmsConfSchemeOptionResult != null && listOmsConfSchemeOptionResult.size() > 0) {
            List<String> listString = new ArrayList<>();
            listString = listOmsConfSchemeOptionResult.stream().map(item -> item.getOptionResultId())
                    .collect(Collectors.toList());//sourceId:58759_1

            /*2-03-07批量删除方案下选项配置结果[1988]   */

            bOOLEAN = mOmsConfSchemeOptionResultService.batchDeleteConfItemResult(listString);


        }

//步骤3: 2-3-06查分组下配置项列表 - queryConfClassItemList
        List<OmsConfClassItem> listOmsConfClassItem = new ArrayList<>();
        QueryConfClassItemListReq queryConfClassItemListReq = new QueryConfClassItemListReq();
        queryConfClassItemListReq.setSubjectLifeCycle("EDITING");//sourceId:58743_1
        if (reqDto != null) {
            queryConfClassItemListReq.setConfItemClassId(reqDto.getConfItemClassId());//sourceId:58749_1
        }

        /*2-3-06查分组下配置项列表[1934]   */
        Assert.isNull(queryConfClassItemListReq.getConfItemClassId(), "D2-3删除配置方案下分组-2-3-06查分组下配置项列表-所属配置项分组ID不能为空", false);
        Assert.isNull(queryConfClassItemListReq.getSubjectLifeCycle(), "D2-3删除配置方案下分组-2-3-06查分组下配置项列表-生命周期状态不能为空", false);
        listOmsConfClassItem = mOmsConfClassItemService.queryConfClassItemList(queryConfClassItemListReq);


//步骤4: 2-3-06批量删除分组下配置项 - batchDeleteConfClassItem
        boolean bOOLEAN_1;
        if (listOmsConfClassItem != null && listOmsConfClassItem.size() > 0) {
            List<String> listString_1 = new ArrayList<>();
            listString_1 = listOmsConfClassItem.stream().map(item -> item.getClassConfItemId())
                    .collect(Collectors.toList());//sourceId:58761_1

            /*2-3-06批量删除分组下配置项[1989]   */

            bOOLEAN_1 = mOmsConfClassItemService.batchDeleteConfClassItem(listString_1);


        }

//步骤5: 2-3-02批量查询配置项列表 - batchQueryConfItemList
        List<OmsConfItem> listOmsConfItem = new ArrayList<>();
        if (listOmsConfClassItem != null && listOmsConfClassItem.size() > 0) {
            BatchQueryConfItemListReq batchQueryConfItemListReq = new BatchQueryConfItemListReq();
            batchQueryConfItemListReq.setConfItemList(listOmsConfClassItem.stream().map(item -> item.getConfItemId())
                    .collect(Collectors.toList()));//sourceId:114850_1
            batchQueryConfItemListReq.setSubjectLifeCycle("EDITING");//sourceId:114852_1
            batchQueryConfItemListReq.setIsTemporaryLock("TRUE");//sourceId:114853_1

            /*2-3-02批量查询配置项列表[1997]   */
            Assert.isNull(batchQueryConfItemListReq.getSubjectLifeCycle(), "D2-3删除配置方案下分组-2-3-02批量查询配置项列表-主体生命周期不能为空", false);
            Assert.isNull(batchQueryConfItemListReq.getIsTemporaryLock(), "D2-3删除配置方案下分组-2-3-02批量查询配置项列表-临时自动锁定不能为空", false);
            listOmsConfItem = mOmsConfItemService.batchQueryConfItemList(batchQueryConfItemListReq);


        }

//步骤6: 2-3-02批量修改配置项 - batchUpdateConfItem
        boolean bOOLEAN_2;
        if (listOmsConfItem != null && listOmsConfItem.size() > 0) {
            List<OmsConfItem> listOmsConfItem_2 = new ArrayList<>();
            for (OmsConfItem item : listOmsConfItem) {
                OmsConfItem oneItem = new OmsConfItem();
                oneItem.setConfItemId(item.getConfItemId());//sourceId:61616_2
                oneItem.setIsTemporaryLock("FALSE");//sourceId:61617_2

                listOmsConfItem_2.add(oneItem);
            }//sourceId:114849_1

            /*2-3-02批量修改配置项（解除临时锁定）[2045]   */

            bOOLEAN_2 = mOmsConfItemService.batchUpdateConfItem(listOmsConfItem_2);


        }

//步骤7: 2-3-05删除配置方案下分组 - deleteConfItemClass
        boolean bOOLEAN_3;
        DeleteConfItemClassReq deleteConfItemClassReq = new DeleteConfItemClassReq();
        if (reqDto != null) {
            deleteConfItemClassReq.setConfItemClassId(reqDto.getConfItemClassId());//sourceId:58756_1
        }

        /*2-3-05删除配置方案下分组[1927]   */
        Assert.isNull(deleteConfItemClassReq.getConfItemClassId(), "D2-3删除配置方案下分组-2-3-05删除配置方案下分组-配置方案下分组ID不能为空", false);
        bOOLEAN_3 = mOmsConfItemClassService.deleteConfItemClass(deleteConfItemClassReq);


        DeleteConfItemClassRespDto retData = new DeleteConfItemClassRespDto();


        return retData;
    }

    /**
     * D2-3修改配置方案下分组[1984]
     * gen by moon at 2022/7/3 下午5:12:25
     */
    @Trace(operationName = "D2-3修改配置方案下分组")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public UpdateConfItemClassRespDto updateConfItemClass(UpdateConfItemClassReqDto reqDto) {


        //步骤0: 2-3-05修改配置方案下分组 - updateConfItemClass
        boolean bOOLEAN;
        OmsConfItemClass omsConfItemClass = new OmsConfItemClass();
        if (reqDto != null) {
            omsConfItemClass.setConfItemClassId(reqDto.getConfItemClassId());//sourceId:58723_1
            omsConfItemClass.setConfItemClassCode(reqDto.getConfItemClassCode());//sourceId:58724_1
            omsConfItemClass.setConfItemClassName(reqDto.getConfItemClassName());//sourceId:58725_1
        }

        /*2-3-05修改配置方案下分组[1926]   */
        bOOLEAN = mOmsConfItemClassService.updateConfItemClass(omsConfItemClass);


        UpdateConfItemClassRespDto retData = new UpdateConfItemClassRespDto();


        return retData;
    }

    /**
     * D2-3新增配置方案下分组[1983]
     * gen by moon at 10/10/2022, 1:19:28 AM
     */
    @Trace(operationName = "D2-3新增配置方案下分组")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public AddConfItemClassRespDto addConfItemClass(AddConfItemClassReqDto reqDto) {


        String string_1 = null;
//virtualUsage 2-3-05查询配置方案下分组详情  15983
        OmsConfItemClass omsConfItemClass = null;
        QueryConfItemClassDetailReq queryConfItemClassDetailReq = new QueryConfItemClassDetailReq();
        queryConfItemClassDetailReq.setIsArchive("FALSE");//sourceId:374490_1_15983
        if (reqDto != null) {
            queryConfItemClassDetailReq.setConfItemClassCode(reqDto.getConfItemClassCode());//SimpleFieldAssign//sourceId:314939_1_15983
            queryConfItemClassDetailReq.setConfSchemeId(reqDto.getConfSchemeId());//SimpleFieldAssign//sourceId:314940_1_15983
        }

        /*2-3-05查询配置方案下分组详情[1928]   */
        Assert.isNull(queryConfItemClassDetailReq.getConfItemClassCode(), "D2-3新增配置方案下分组-2-3-05查询配置方案下分组详情-分组标识不能为空", false);
        Assert.isNull(queryConfItemClassDetailReq.getConfSchemeId(), "D2-3新增配置方案下分组-2-3-05查询配置方案下分组详情-所属配置方案ID不能为空", false);
        Assert.isNull(queryConfItemClassDetailReq.getIsArchive(), "D2-3新增配置方案下分组-2-3-05查询配置方案下分组详情-是否存档不能为空", false);
        omsConfItemClass = mOmsConfItemClassService.queryConfItemClassDetail(queryConfItemClassDetailReq);


        if ((omsConfItemClass == null)) {
            //if(2-3-05查询配置方案下分组详情.出参 值等于空 )  15984

            String string = null;
            OmsConfItemClass omsConfItemClass_2 = new OmsConfItemClass();
            if (reqDto != null) {
                omsConfItemClass_2.setConfSchemeId(reqDto.getConfSchemeId());//SimpleFieldAssign//sourceId:58705_1_15985
                omsConfItemClass_2.setConfItemClassName(reqDto.getConfItemClassName());//SimpleFieldAssign//sourceId:58703_1_15985
                omsConfItemClass_2.setConfItemClassCode(reqDto.getConfItemClassCode());//SimpleFieldAssign//sourceId:58702_1_15985
                omsConfItemClass_2.setOrderNumber(reqDto.getOrderNumber());//SimpleFieldAssign//sourceId:58704_1_15985
            }

            /*2-3-05新增配置方案下分组[1925]   */
            Assert.isNull(omsConfItemClass_2.getConfSchemeId(), "D2-3新增配置方案下分组-2-3-05新增配置方案下分组-所属配置方案ID不能为空", false);
            Assert.isNull(omsConfItemClass_2.getConfItemClassName(), "D2-3新增配置方案下分组-2-3-05新增配置方案下分组-分组名称不能为空", false);
            Assert.isNull(omsConfItemClass_2.getConfItemClassCode(), "D2-3新增配置方案下分组-2-3-05新增配置方案下分组-分组标识不能为空", false);
            string = mOmsConfItemClassService.addConfItemClass(omsConfItemClass_2);


            string_1 = string;
//processBranchName:正常结束 ,processBranchId:15986

        } else {
            //else  15987

//异常结束 15988
            throw new BizException("C00116", "对不起！已存在~！", false);
        }
        AddConfItemClassRespDto retData = new AddConfItemClassRespDto();
        if (string_1 != null) {
            retData.setConfItemClassId(string_1);//SimpleFieldAssign//sourceId:58712_1
        }


        return retData;
    }

    /**
     * D2-3查询配置方案下分组列表[1982]
     * gen by moon at 8/15/2022, 9:40:53 PM
     */
    @Trace(operationName = "D2-3查询配置方案下分组列表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryConfItemClassListRespDto queryConfItemClassList(QueryConfItemClassListReqDto reqDto) {


        List<OmsConfItemClass> listOmsConfItemClass_1 = new ArrayList<>();
//步骤0: 2-3-05查询配置方案下分组列表 - queryConfItemClassList
        List<OmsConfItemClass> listOmsConfItemClass = new ArrayList<>();
        QueryConfItemClassListReq queryConfItemClassListReq = new QueryConfItemClassListReq();
        queryConfItemClassListReq.setIsArchive("FALSE");//sourceId:155543_1
        if (reqDto != null) {
            queryConfItemClassListReq.setConfSchemeId(reqDto.getConfSchemeId());//sourceId:58687_1
        }

        /*2-3-05查询配置方案下分组列表[1929]   */
        Assert.isNull(queryConfItemClassListReq.getConfSchemeId(), "D2-3查询配置方案下分组列表-2-3-05查询配置方案下分组列表-所属配置方案ID不能为空", false);
        listOmsConfItemClass = mOmsConfItemClassService.queryConfItemClassList(queryConfItemClassListReq);

        listOmsConfItemClass_1 = listOmsConfItemClass;

        QueryConfItemClassListRespDto retData = new QueryConfItemClassListRespDto();
        retData.setConfItemClassList(listOmsConfItemClass_1.stream().map(item -> BeanUtil.toBean(item, ConfItemClassDto.class)).collect(Collectors.toList()));//sourceId:58695_1


        return retData;
    }

    /**
     * D2-3查询配置项详情（边界）[2000]
     * gen by moon at 5/3/2023, 10:15:20 AM
     */
    @Trace(operationName = "D2-3查询配置项详情（边界）")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryConfItemDetailBorderRespDto queryConfItemDetailBorder(QueryConfItemDetailBorderReqDto reqDto) {


        OmsConfClassItem omsConfClassItem_1 = null;
        OmsConfItem omsConfItem_1 = null;
        List<OmsConfItemOptionRelationship> listOmsConfItemOptionRelationship_1 = new ArrayList<>();
        List<OmsConfOption> listOmsConfOption_1 = new ArrayList<>();
//步骤0: 2-3-06查询分组下配置项详情 - queryConfClassItemDetail
        OmsConfClassItem omsConfClassItem = null;
        QueryConfClassItemDetailReq queryConfClassItemDetailReq = new QueryConfClassItemDetailReq();
        queryConfClassItemDetailReq.setIsArchive("FALSE");//sourceId:122885_1
        if (reqDto != null) {
            queryConfClassItemDetailReq.setClassConfItemId(reqDto.getClassConfItemId());//SimpleFieldAssign//sourceId:122861_1
        }

        /*2-3-06查询分组下配置项详情[1933]   */
        Assert.isNull(queryConfClassItemDetailReq.getClassConfItemId(), "D2-3查询配置项详情（边界）-2-3-06查询分组下配置项详情-配置项关系ID不能为空", false);
        Assert.isNull(queryConfClassItemDetailReq.getIsArchive(), "D2-3查询配置项详情（边界）-2-3-06查询分组下配置项详情-是否存档不能为空", false);
        omsConfClassItem = mOmsConfClassItemService.queryConfClassItemDetail(queryConfClassItemDetailReq)/*vcase invoke 本地 method 方法调用;*/;
        Assert.isTrue(omsConfClassItem == null || omsConfClassItem.getClassConfItemId() == null, "找不到数据，系统异常", false);

        omsConfClassItem_1 = omsConfClassItem;

//步骤1: 2-3-02查询配置项详情 - queryConfItemDetail
        OmsConfItem omsConfItem = null;
        if (omsConfClassItem != null) {
            QueryConfItemDetailReq queryConfItemDetailReq = new QueryConfItemDetailReq();
            if (omsConfClassItem != null) {
                queryConfItemDetailReq.setConfItemId(omsConfClassItem.getConfItemId());//SimpleFieldAssign//sourceId:58901_1
            }

            /*2-3-02查询配置项详情[1905]   */
            Assert.isNull(queryConfItemDetailReq.getConfItemId(), "D2-3查询配置项详情（边界）-2-3-02查询配置项详情-配置项ID不能为空", false);
            omsConfItem = mOmsConfItemService.queryConfItemDetail(queryConfItemDetailReq)/*vcase invoke 本地 method 方法调用;*/;


            omsConfItem_1 = omsConfItem;
        }

//步骤2: 2-3-03查询配置项下选项关系列表 - queryConfItemOptionList
        List<OmsConfItemOptionRelationship> listOmsConfItemOptionRelationship = new ArrayList<>();
        if (omsConfItem != null) {
            QueryConfItemOptionListReq queryConfItemOptionListReq = new QueryConfItemOptionListReq();
            if (omsConfItem != null) {
                queryConfItemOptionListReq.setConfItemId(omsConfItem.getConfItemId());//SimpleFieldAssign//sourceId:877968_1
            }

            /*2-3-03查询配置项下选项关系列表[1918]   */
            Assert.isNull(queryConfItemOptionListReq.getConfItemId(), "D2-3查询配置项详情（边界）-2-3-03查询配置项下选项关系列表-冗余配置项ID不能为空", false);
            listOmsConfItemOptionRelationship = mOmsConfItemOptionRelationshipService.queryConfItemOptionList(queryConfItemOptionListReq)/*vcase invoke 本地 method 方法调用;*/;
            Assert.isTrue(listOmsConfItemOptionRelationship == null || CollectionUtil.isEmpty(listOmsConfItemOptionRelationship) || listOmsConfItemOptionRelationship == null || CollectionUtil.isEmpty(listOmsConfItemOptionRelationship) || listOmsConfItemOptionRelationship.size() == 0, "找不到数据，系统异常", false);

            listOmsConfItemOptionRelationship_1 = listOmsConfItemOptionRelationship;
        }

//步骤3: 2-3-01批量查询配置选项列表 - batchQueryConfOptionList
        List<OmsConfOption> listOmsConfOption = new ArrayList<>();
        if (listOmsConfItemOptionRelationship != null && !CollectionUtil.isEmpty(listOmsConfItemOptionRelationship) && listOmsConfItemOptionRelationship.size() > 0) {
            BatchQueryConfOptionListReq batchQueryConfOptionListReq = new BatchQueryConfOptionListReq();
            if (listOmsConfItemOptionRelationship != null && !CollectionUtil.isEmpty(listOmsConfItemOptionRelationship) && listOmsConfItemOptionRelationship != null && !CollectionUtil.isEmpty(listOmsConfItemOptionRelationship)) {
                batchQueryConfOptionListReq.setConfOptionList(listOmsConfItemOptionRelationship.stream().map(item -> item.getConfOptionId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:58935_1
            }

            /*2-3-01批量查询配置选项列表[1998]   */

            listOmsConfOption = mOmsConfOptionService.batchQueryConfOptionList(batchQueryConfOptionListReq)/*vcase invoke 本地 method 方法调用;*/;
            Assert.isTrue(listOmsConfOption == null || CollectionUtil.isEmpty(listOmsConfOption) || listOmsConfOption == null || CollectionUtil.isEmpty(listOmsConfOption) || listOmsConfOption.size() == 0, "找不到数据，系统异常", false);

            listOmsConfOption_1 = listOmsConfOption;
        }

        QueryConfItemDetailBorderRespDto retData = new QueryConfItemDetailBorderRespDto();
        //数据集融合  MoreListToOneSource
        if (listOmsConfItemOptionRelationship_1 != null && !CollectionUtil.isEmpty(listOmsConfItemOptionRelationship_1) && !CollectionUtil.isEmpty(listOmsConfItemOptionRelationship_1)) {
            for (OmsConfItemOptionRelationship omsConfItemOptionRelationship : listOmsConfItemOptionRelationship_1) {
                ConfItemOptionDto retElm = new ConfItemOptionDto();
                retElm.setConfOptionRshipId(omsConfItemOptionRelationship.getConfOptionRshipId());//SimpleFieldAssign//sourceId:32818_2
                retData.getConfItemOptionList().add(retElm);
                if (listOmsConfOption_1 != null && !CollectionUtil.isEmpty(listOmsConfOption_1)) {
                    for (OmsConfOption omsConfOption : listOmsConfOption_1) {
                        if (omsConfOption.getConfOptionId().equals(omsConfItemOptionRelationship.getConfOptionId())) {
                            retElm.setConfOptionId(omsConfOption.getConfOptionId());//SimpleFieldAssign//sourceId:32817_2
                            retElm.setConfOptionName(omsConfOption.getConfOptionName());//SimpleFieldAssign//sourceId:32182_2
                            retElm.setConfOptionCode(omsConfOption.getConfOptionCode());//SimpleFieldAssign//sourceId:32183_2
                            retElm.setConfOptionDes(omsConfOption.getConfOptionDes());//SimpleFieldAssign//sourceId:32184_2
                        }
                    }
                }

            }
        }//sourceId:58947_1
        if (omsConfClassItem_1 != null) {
            retData.setClassConfItemId(omsConfClassItem_1.getClassConfItemId());//SimpleFieldAssign//sourceId:122896_1
        }
        if (omsConfItem_1 != null) {
            retData.setConfItemId(omsConfItem_1.getConfItemId());//SimpleFieldAssign//sourceId:102885_1
            retData.setShortName(omsConfItem_1.getShortName());//SimpleFieldAssign//sourceId:58938_1
            retData.setConfItemName(omsConfItem_1.getConfItemName());//SimpleFieldAssign//sourceId:58939_1
            retData.setConfItemCode(omsConfItem_1.getConfItemCode());//SimpleFieldAssign//sourceId:58940_1
            retData.setConfItemDes(omsConfItem_1.getConfItemDes());//SimpleFieldAssign//sourceId:58941_1
            retData.setIsVisible(omsConfItem_1.getIsVisible());//SimpleFieldAssign//sourceId:58942_1
            retData.setIsOpenCustomConf(omsConfItem_1.getIsOpenCustomConf());//SimpleFieldAssign//sourceId:58943_1
            retData.setIsBusiness(omsConfItem_1.getIsBusiness());//SimpleFieldAssign//sourceId:58944_1
            retData.setConfItemCategory(omsConfItem_1.getConfItemCategory());//SimpleFieldAssign//sourceId:58945_1
            retData.setIsSwitch(omsConfItem_1.getIsSwitch());//SimpleFieldAssign//sourceId:58946_1
        }


        return retData;
    }

    /**
     * D2-3查询配置项匹配结果转答案(公共)[3094]
     * gen by moon at 10/14/2023, 11:34:05 PM
     */
    @Trace(operationName = "D2-3查询配置项匹配结果转答案(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryItemMatchResultToAnswerDetailComRespDto queryItemMatchResultToAnswerDetailCom(QueryItemMatchResultToAnswerDetailComReqDto reqDto) {


        SchemeConfItemTransitionConfItemToAnswerRespDto columnToRowRes_1 = null;
//步骤0: 2-3-07查配置项匹配答案列表 - queryConfItemMatchAnswerList
        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult = new ArrayList<>();
        QueryConfItemMatchAnswerListReq queryConfItemMatchAnswerListReq = new QueryConfItemMatchAnswerListReq();
        queryConfItemMatchAnswerListReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:104811_1
        if (reqDto != null) {
            queryConfItemMatchAnswerListReq.setConfItemCode(reqDto.getConfItemCode());//SimpleFieldAssign//sourceId:104805_1
            queryConfItemMatchAnswerListReq.setResultAspObjType(reqDto.getResultAspObjType());//SimpleFieldAssign//sourceId:104806_1
            queryConfItemMatchAnswerListReq.setResultAspObjId(reqDto.getResultAspObjId());//SimpleFieldAssign//sourceId:104807_1
            queryConfItemMatchAnswerListReq.setConfSchemeCode(reqDto.getConfSchemeCode());//SimpleFieldAssign//sourceId:104808_1
            queryConfItemMatchAnswerListReq.setIsInitialScheme(reqDto.getIsInitialScheme());//SimpleFieldAssign//sourceId:104816_1
            queryConfItemMatchAnswerListReq.setIsPlatData(reqDto.getIsPlatData());//SimpleFieldAssign//sourceId:308147_1
        }

        /*2-3-07查配置项匹配答案列表[2506]   */
        Assert.isNull(queryConfItemMatchAnswerListReq.getConfItemCode(), "D2-3查询配置项匹配结果转答案(公共)-2-3-07查配置项匹配答案列表-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerListReq.getResultAspObjType(), "D2-3查询配置项匹配结果转答案(公共)-2-3-07查配置项匹配答案列表-开通对象类型编码不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerListReq.getResultAspObjId(), "D2-3查询配置项匹配结果转答案(公共)-2-3-07查配置项匹配答案列表-开通对象ID不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerListReq.getIsPlatData(), "D2-3查询配置项匹配结果转答案(公共)-2-3-07查配置项匹配答案列表-是否标准答案不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerListReq.getSubjectLifeCycle(), "D2-3查询配置项匹配结果转答案(公共)-2-3-07查配置项匹配答案列表-主体生命周期不能为空", false);
        listOmsConfSchemeOptionResult = mOmsConfSchemeOptionResultService.queryConfItemMatchAnswerList(queryConfItemMatchAnswerListReq)/*vcase invoke 本地 method 方法调用;*/;
        Assert.isTrue(listOmsConfSchemeOptionResult == null || CollectionUtil.isEmpty(listOmsConfSchemeOptionResult) || listOmsConfSchemeOptionResult == null || CollectionUtil.isEmpty(listOmsConfSchemeOptionResult) || listOmsConfSchemeOptionResult.size() == 0, "找不到数据，系统异常", false);


//步骤1: M2转换配置项转答案(特殊方法） - transitionConfItemToAnswer
        //ModelCode: columnToRow
        SchemeConfItemTransitionConfItemToAnswerRespDto columnToRowRes = null;
        if (listOmsConfSchemeOptionResult != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult) && listOmsConfSchemeOptionResult.size() > 0) {
            SchemeConfItemTransitionConfItemToAnswerReqDto columnToRowReq = new SchemeConfItemTransitionConfItemToAnswerReqDto();
            if (listOmsConfSchemeOptionResult != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult) && listOmsConfSchemeOptionResult != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult)) {
                columnToRowReq.setConfSchemeItemResultList(listOmsConfSchemeOptionResult.stream().map(item -> {
                    ConfSchemeItemResultDto elm = BeanUtil.toBean(item, ConfSchemeItemResultDto.class);
                    //elm.setConfSchemeId();//COLUMN_TO_ROW_CODE  TODO ruizhe dong

                    return elm;
                }).collect(Collectors.toList()));//objList-to-objLists//sourceId:104817_1
            }

            /*M2转换配置项转答案(特殊方法）[3068]  将多列数据转成一行数据 */

            columnToRowRes = nbConfScheme.schemeConfItemTransitionConfItemToAnswer(columnToRowReq);


            columnToRowRes_1 = columnToRowRes;
        }

        QueryItemMatchResultToAnswerDetailComRespDto retData = new QueryItemMatchResultToAnswerDetailComRespDto();
        if (columnToRowRes_1 != null) {
            retData.setConfSchemeId(columnToRowRes_1.getConfSchemeId());//SimpleFieldAssign//sourceId:104868_1
            retData.setFatherCycleType(columnToRowRes_1.getFatherCycleType());//SimpleFieldAssign//sourceId:104869_1
            retData.setCycleType(columnToRowRes_1.getCycleType());//SimpleFieldAssign//sourceId:104870_1
            retData.setFatherSubcycleQuantity(columnToRowRes_1.getFatherSubcycleQuantity());//SimpleFieldAssign//sourceId:104871_1
            retData.setMidCycleType(columnToRowRes_1.getMidCycleType());//SimpleFieldAssign//sourceId:104872_1
            retData.setMidSubcycleQuantity(columnToRowRes_1.getMidSubcycleQuantity());//SimpleFieldAssign//sourceId:104873_1
            retData.setSubcycleType(columnToRowRes_1.getSubcycleType());//SimpleFieldAssign//sourceId:104874_1
            retData.setMonocycleCycleType(columnToRowRes_1.getMonocycleCycleType());//SimpleFieldAssign//sourceId:104875_1
            retData.setEvaluationTemplateTypeCode(columnToRowRes_1.getEvaluationTemplateTypeCode());//SimpleFieldAssign//sourceId:104876_1
            retData.setTargetPlanTempSubtype(columnToRowRes_1.getTargetPlanTempSubtype());//SimpleFieldAssign//sourceId:104877_1
            retData.setPlanningType(columnToRowRes_1.getPlanningType());//SimpleFieldAssign//sourceId:104878_1
            retData.setOpenMidCycle(columnToRowRes_1.getOpenMidCycle());//SimpleFieldAssign//sourceId:104879_1
            retData.setCycleMode(columnToRowRes_1.getCycleMode());//SimpleFieldAssign//sourceId:104880_1
            retData.setIsOpenEvaWork(columnToRowRes_1.getIsOpenEvaWork());//SimpleFieldAssign//sourceId:104889_1
            retData.setFiveYear(columnToRowRes_1.getFiveYear());//SimpleFieldAssign//sourceId:104890_1
            retData.setThreeYear(columnToRowRes_1.getThreeYear());//SimpleFieldAssign//sourceId:104891_1
            retData.setYear(columnToRowRes_1.getYear());//SimpleFieldAssign//sourceId:104892_1
            retData.setHalfYear(columnToRowRes_1.getHalfYear());//SimpleFieldAssign//sourceId:104893_1
            retData.setQuarter(columnToRowRes_1.getQuarter());//SimpleFieldAssign//sourceId:104894_1
            retData.setDoubleMonths(columnToRowRes_1.getDoubleMonths());//SimpleFieldAssign//sourceId:104895_1
            retData.setMonth(columnToRowRes_1.getMonth());//SimpleFieldAssign//sourceId:104896_1
            retData.setOpenCreateBizAppCode(columnToRowRes_1.getOpenCreateBizAppCode());//SimpleFieldAssign//sourceId:104897_1
            retData.setIsOpenPlanSchemeClass(columnToRowRes_1.getIsOpenPlanSchemeClass());//SimpleFieldAssign//sourceId:104898_1
            retData.setCycleSystemCode(columnToRowRes_1.getCycleSystemCode());//SimpleFieldAssign//sourceId:104899_1
            retData.setIsOpenFillWork(columnToRowRes_1.getIsOpenFillWork());//SimpleFieldAssign//sourceId:104900_1
            retData.setPlanSchemeClass(columnToRowRes_1.getPlanSchemeClass());//SimpleFieldAssign//sourceId:104901_1
            retData.setTimeCountReferTime(columnToRowRes_1.getTimeCountReferTime());//SimpleFieldAssign//sourceId:104902_1
            retData.setTimeRulesSetLevel(columnToRowRes_1.getTimeRulesSetLevel());//SimpleFieldAssign//sourceId:104903_1
            retData.setFillTimeRulesCode(columnToRowRes_1.getFillTimeRulesCode());//SimpleFieldAssign//sourceId:104904_1
            retData.setEvaTimeRulesCode(columnToRowRes_1.getEvaTimeRulesCode());//SimpleFieldAssign//sourceId:104905_1
            retData.setOrgStructureModel(columnToRowRes_1.getOrgStructureModel());//SimpleFieldAssign//sourceId:104906_1
            retData.setIsIntergration(columnToRowRes_1.getIsIntergration());//SimpleFieldAssign//sourceId:104907_1
            retData.setIsAllowImport(columnToRowRes_1.getIsAllowImport());//SimpleFieldAssign//sourceId:104908_1
            retData.setIsOpenApprovalProcess(columnToRowRes_1.getIsOpenApprovalProcess());//SimpleFieldAssign//sourceId:104909_1
            retData.setOpenManyOrg(columnToRowRes_1.getOpenManyOrg());//SimpleFieldAssign//sourceId:104910_1
            retData.setHeadCopywriter(columnToRowRes_1.getHeadCopywriter());//SimpleFieldAssign//sourceId:105517_1
            retData.setEvaThemeSketch(columnToRowRes_1.getEvaThemeSketch());//SimpleFieldAssign//sourceId:105518_1
            retData.setButtonCopywriter(columnToRowRes_1.getButtonCopywriter());//SimpleFieldAssign//sourceId:105519_1
            retData.setMediaContentAddress(columnToRowRes_1.getMediaContentAddress());//SimpleFieldAssign//sourceId:105520_1
            retData.setSubjectiveRatingTotalValue(columnToRowRes_1.getSubjectiveRatingTotalValue());//SimpleFieldAssign//sourceId:112788_1
            retData.setIsOpenAudit(columnToRowRes_1.getIsOpenAudit());//SimpleFieldAssign//sourceId:122680_1
            retData.setLastCycleType(columnToRowRes_1.getLastCycleType());//SimpleFieldAssign//sourceId:138862_1
            retData.setIsOpenCustomReport(columnToRowRes_1.getIsOpenCustomReport());//SimpleFieldAssign//sourceId:181077_1
            retData.setUseObjectTypeCode(columnToRowRes_1.getUseObjectTypeCode());//SimpleFieldAssign//sourceId:222476_1
            retData.setDockCalculateType(columnToRowRes_1.getDockCalculateType());//SimpleFieldAssign//sourceId:381239_1
            retData.setReportType(columnToRowRes_1.getReportType());//SimpleFieldAssign//sourceId:676362_1
            retData.setSchemeDataPara(columnToRowRes_1.getSchemeDataPara());//SimpleFieldAssign//sourceId:676563_1
            retData.setThirdQaSystem(columnToRowRes_1.getThirdQaSystem());//SimpleFieldAssign//sourceId:1118411_1
            retData.setUserNameField(columnToRowRes_1.getUserNameField());//SimpleFieldAssign//sourceId:1122458_1
            retData.setRoleMemberCodeField(columnToRowRes_1.getRoleMemberCodeField());//SimpleFieldAssign//sourceId:1122459_1
            retData.setPhoneField(columnToRowRes_1.getPhoneField());//SimpleFieldAssign//sourceId:1122460_1
            retData.setNameFields(columnToRowRes_1.getNameFields());//SimpleFieldAssign//sourceId:1122461_1
            retData.setRoleMemberCodeFields(columnToRowRes_1.getRoleMemberCodeFields());//SimpleFieldAssign//sourceId:1122462_1
            retData.setPartyAndYouthDirectorCodeFields(columnToRowRes_1.getPartyAndYouthDirectorCodeFields());//SimpleFieldAssign//sourceId:1122463_1
            retData.setPartyAndYouthDirectorNameFields(columnToRowRes_1.getPartyAndYouthDirectorNameFields());//SimpleFieldAssign//sourceId:1122464_1
            retData.setPositionIdNameFields(columnToRowRes_1.getPositionIdNameFields());//SimpleFieldAssign//sourceId:1122465_1
            retData.setSubordinateDeptFields(columnToRowRes_1.getSubordinateDeptFields());//SimpleFieldAssign//sourceId:1122466_1
            retData.setIdNumberFields(columnToRowRes_1.getIdNumberFields());//SimpleFieldAssign//sourceId:1122467_1
            retData.setPhoneFields(columnToRowRes_1.getPhoneFields());//SimpleFieldAssign//sourceId:1122468_1
            retData.setSexFields(columnToRowRes_1.getSexFields());//SimpleFieldAssign//sourceId:1122469_1
            retData.setPositionTypeFields(columnToRowRes_1.getPositionTypeFields());//SimpleFieldAssign//sourceId:1122470_1
            retData.setIsMainInductionFields(columnToRowRes_1.getIsMainInductionFields());//SimpleFieldAssign//sourceId:1122471_1
            retData.setIsDirectorFields(columnToRowRes_1.getIsDirectorFields());//SimpleFieldAssign//sourceId:1122472_1
            retData.setInductionStartTimeFields(columnToRowRes_1.getInductionStartTimeFields());//SimpleFieldAssign//sourceId:1122473_1
            retData.setMessageTitleFields(columnToRowRes_1.getMessageTitleFields());//SimpleFieldAssign//sourceId:1122474_1
            retData.setMessageContentFields(columnToRowRes_1.getMessageContentFields());//SimpleFieldAssign//sourceId:1122475_1
            retData.setMessageReceiverFields(columnToRowRes_1.getMessageReceiverFields());//SimpleFieldAssign//sourceId:1122476_1
            retData.setMsgAppIdFields(columnToRowRes_1.getMsgAppIdFields());//SimpleFieldAssign//sourceId:1122477_1
            retData.setDeptCodeFields(columnToRowRes_1.getDeptCodeFields());//SimpleFieldAssign//sourceId:1122478_1
            retData.setDeptNameFields(columnToRowRes_1.getDeptNameFields());//SimpleFieldAssign//sourceId:1122479_1
            retData.setSuperiorsDeptCodeFields(columnToRowRes_1.getSuperiorsDeptCodeFields());//SimpleFieldAssign//sourceId:1122480_1
            retData.setSuperiorsDeptNameFields(columnToRowRes_1.getSuperiorsDeptNameFields());//SimpleFieldAssign//sourceId:1122481_1
            retData.setDeptEnNameFields(columnToRowRes_1.getDeptEnNameFields());//SimpleFieldAssign//sourceId:1122482_1
            retData.setDeptShortNameFields(columnToRowRes_1.getDeptShortNameFields());//SimpleFieldAssign//sourceId:1122483_1
            retData.setDirectorRoleMemberCodeFields(columnToRowRes_1.getDirectorRoleMemberCodeFields());//SimpleFieldAssign//sourceId:1122484_1
            retData.setDirectorNameFields(columnToRowRes_1.getDirectorNameFields());//SimpleFieldAssign//sourceId:1122485_1
            retData.setDeptLeaderRoleMemberCodeFields(columnToRowRes_1.getDeptLeaderRoleMemberCodeFields());//SimpleFieldAssign//sourceId:1122486_1
            retData.setDeptLeaderNameFields(columnToRowRes_1.getDeptLeaderNameFields());//SimpleFieldAssign//sourceId:1122487_1
            retData.setOrderNumberFields(columnToRowRes_1.getOrderNumberFields());//SimpleFieldAssign//sourceId:1122488_1
            retData.setTypeDictionaryFields(columnToRowRes_1.getTypeDictionaryFields());//SimpleFieldAssign//sourceId:1122489_1
        }


        return retData;
    }

    /**
     * D2-3查询分组匹配结果转答案(公共)(跨服务）[3088]
     * gen by moon at 6/2/2025, 12:03:10 PM
     */
    @Trace(operationName = "D2-3查询分组匹配结果转答案(公共)(跨服务）")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryClassMatchResultToAnswerDetailComRespDto queryClassMatchResultToAnswerDetailCom(QueryClassMatchResultToAnswerDetailComReqDto reqDto) {


        SchemeExampleConfItemTransitionConfItemToAnswerRespDto columnToRowRes_1 = null;
//步骤0: 2-3-07查询方案下选项配置结果列表 - queryConfItemResultList
        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult = new ArrayList<>();
        QueryConfItemResultListReq queryConfItemResultListReq = new QueryConfItemResultListReq();
        queryConfItemResultListReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:104331_1
        if (reqDto != null) {
            queryConfItemResultListReq.setResultAspObjId(reqDto.getResultAspObjId());//SimpleFieldAssign//sourceId:105557_1
            queryConfItemResultListReq.setResultAspObjType(reqDto.getResultAspObjType());//SimpleFieldAssign//sourceId:105558_1
            queryConfItemResultListReq.setConfSchemeId(reqDto.getConfSchemeId());//SimpleFieldAssign//sourceId:894873_1
            queryConfItemResultListReq.setConfSchemeCode(reqDto.getConfSchemeCode());//SimpleFieldAssign//sourceId:104329_1
            queryConfItemResultListReq.setConfItemClassCode(reqDto.getConfItemClassCode());//SimpleFieldAssign//sourceId:104341_1
            queryConfItemResultListReq.setIsInitialScheme(reqDto.getIsInitialScheme());//SimpleFieldAssign//sourceId:104343_1
            queryConfItemResultListReq.setIsCeResult(reqDto.getIsCeResult());//SimpleFieldAssign//sourceId:104336_1
            queryConfItemResultListReq.setIsPlatData(reqDto.getIsPlatData());//SimpleFieldAssign//sourceId:308307_1
            queryConfItemResultListReq.setIsSingleResult(reqDto.getIsSingleResult());//SimpleFieldAssign//sourceId:347456_1
        }

        /*2-3-07查询方案下选项配置结果列表[1940]   */
        Assert.isNull(queryConfItemResultListReq.getConfItemClassCode(), "D2-3查询分组匹配结果转答案(公共)(跨服务）-2-3-07查询方案下选项配置结果列表-分组标识不能为空", false);
        Assert.isNull(queryConfItemResultListReq.getIsPlatData(), "D2-3查询分组匹配结果转答案(公共)(跨服务）-2-3-07查询方案下选项配置结果列表-是否标准答案不能为空", false);
        Assert.isNull(queryConfItemResultListReq.getSubjectLifeCycle(), "D2-3查询分组匹配结果转答案(公共)(跨服务）-2-3-07查询方案下选项配置结果列表-主体生命周期不能为空", false);
        listOmsConfSchemeOptionResult = mOmsConfSchemeOptionResultService.queryConfItemResultList(queryConfItemResultListReq)/*vcase invoke 本地 method 方法调用;*/;


//步骤1: M2转换配置项转答案(特殊方法） - transitionConfItemToAnswer
        //ModelCode: columnToRow
        SchemeExampleConfItemTransitionConfItemToAnswerRespDto columnToRowRes = null;
        if (listOmsConfSchemeOptionResult != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult) && listOmsConfSchemeOptionResult.size() > 0) {
            SchemeExampleConfItemTransitionConfItemToAnswerReqDto columnToRowReq = new SchemeExampleConfItemTransitionConfItemToAnswerReqDto();
            if (listOmsConfSchemeOptionResult != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult) && listOmsConfSchemeOptionResult != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult)) {
                columnToRowReq.setConfSchemeItemResultList(listOmsConfSchemeOptionResult.stream().map(item -> {
                    ConfSchemeItemResultDto elm = BeanUtil.toBean(item, ConfSchemeItemResultDto.class);
                    //elm.setConfSchemeId();//COLUMN_TO_ROW_CODE  TODO ruizhe dong

                    return elm;
                }).collect(Collectors.toList()));//objList-to-objLists//sourceId:104347_1
            }

            /*M2转换配置项转答案(特殊方法）[3068]  将多列数据转成一行数据 */

            columnToRowRes = nbConfScheme.schemeExampleConfItemTransitionConfItemToAnswer(columnToRowReq);


            columnToRowRes_1 = columnToRowRes;
        }

        QueryClassMatchResultToAnswerDetailComRespDto retData = new QueryClassMatchResultToAnswerDetailComRespDto();
        if (columnToRowRes_1 != null) {
            retData.setConfSchemeId(columnToRowRes_1.getConfSchemeId());//SimpleFieldAssign//sourceId:104391_1
            retData.setBizSceneCode(columnToRowRes_1.getBizSceneCode());//SimpleFieldAssign//sourceId:114612_1
            retData.setEvaluationSubjectTypeCode(columnToRowRes_1.getEvaluationSubjectTypeCode());//SimpleFieldAssign//sourceId:114613_1
            retData.setIsOkrPlanScene(columnToRowRes_1.getIsOkrPlanScene());//SimpleFieldAssign//sourceId:114614_1
            retData.setEvaluationTemplateTypeCode(columnToRowRes_1.getEvaluationTemplateTypeCode());//SimpleFieldAssign//sourceId:104399_1
            retData.setFatherCycleType(columnToRowRes_1.getFatherCycleType());//SimpleFieldAssign//sourceId:104392_1
            retData.setCycleType(columnToRowRes_1.getCycleType());//SimpleFieldAssign//sourceId:104393_1
            retData.setFatherSubcycleQuantity(columnToRowRes_1.getFatherSubcycleQuantity());//SimpleFieldAssign//sourceId:104394_1
            retData.setMidCycleType(columnToRowRes_1.getMidCycleType());//SimpleFieldAssign//sourceId:104395_1
            retData.setMidSubcycleQuantity(columnToRowRes_1.getMidSubcycleQuantity());//SimpleFieldAssign//sourceId:104396_1
            retData.setSubcycleType(columnToRowRes_1.getSubcycleType());//SimpleFieldAssign//sourceId:104397_1
            retData.setMonocycleCycleType(columnToRowRes_1.getMonocycleCycleType());//SimpleFieldAssign//sourceId:104398_1
            retData.setTargetPlanTempSubtype(columnToRowRes_1.getTargetPlanTempSubtype());//SimpleFieldAssign//sourceId:104400_1
            retData.setPlanningType(columnToRowRes_1.getPlanningType());//SimpleFieldAssign//sourceId:104401_1
            retData.setOpenMidCycle(columnToRowRes_1.getOpenMidCycle());//SimpleFieldAssign//sourceId:104402_1
            retData.setCycleMode(columnToRowRes_1.getCycleMode());//SimpleFieldAssign//sourceId:104403_1
            retData.setIsOpenEvaWork(columnToRowRes_1.getIsOpenEvaWork());//SimpleFieldAssign//sourceId:104412_1
            retData.setFiveYear(columnToRowRes_1.getFiveYear());//SimpleFieldAssign//sourceId:104413_1
            retData.setThreeYear(columnToRowRes_1.getThreeYear());//SimpleFieldAssign//sourceId:104414_1
            retData.setYear(columnToRowRes_1.getYear());//SimpleFieldAssign//sourceId:104415_1
            retData.setHalfYear(columnToRowRes_1.getHalfYear());//SimpleFieldAssign//sourceId:104416_1
            retData.setQuarter(columnToRowRes_1.getQuarter());//SimpleFieldAssign//sourceId:104417_1
            retData.setDoubleMonths(columnToRowRes_1.getDoubleMonths());//SimpleFieldAssign//sourceId:104418_1
            retData.setMonth(columnToRowRes_1.getMonth());//SimpleFieldAssign//sourceId:104419_1
            retData.setOpenCreateBizAppCode(columnToRowRes_1.getOpenCreateBizAppCode());//SimpleFieldAssign//sourceId:104420_1
            retData.setIsOpenPlanSchemeClass(columnToRowRes_1.getIsOpenPlanSchemeClass());//SimpleFieldAssign//sourceId:104421_1
            retData.setCycleSystemCode(columnToRowRes_1.getCycleSystemCode());//SimpleFieldAssign//sourceId:104422_1
            retData.setIsOpenFillWork(columnToRowRes_1.getIsOpenFillWork());//SimpleFieldAssign//sourceId:104423_1
            retData.setPlanSchemeClass(columnToRowRes_1.getPlanSchemeClass());//SimpleFieldAssign//sourceId:104424_1
            retData.setTimeCountReferTime(columnToRowRes_1.getTimeCountReferTime());//SimpleFieldAssign//sourceId:104425_1
            retData.setTimeRulesSetLevel(columnToRowRes_1.getTimeRulesSetLevel());//SimpleFieldAssign//sourceId:104426_1
            retData.setFillTimeRulesCode(columnToRowRes_1.getFillTimeRulesCode());//SimpleFieldAssign//sourceId:104427_1
            retData.setEvaTimeRulesCode(columnToRowRes_1.getEvaTimeRulesCode());//SimpleFieldAssign//sourceId:104428_1
            retData.setOrgStructureModel(columnToRowRes_1.getOrgStructureModel());//SimpleFieldAssign//sourceId:105706_1
            retData.setIsIntergration(columnToRowRes_1.getIsIntergration());//SimpleFieldAssign//sourceId:105707_1
            retData.setIsAllowImport(columnToRowRes_1.getIsAllowImport());//SimpleFieldAssign//sourceId:105708_1
            retData.setIsOpenApprovalProcess(columnToRowRes_1.getIsOpenApprovalProcess());//SimpleFieldAssign//sourceId:105709_1
            retData.setOpenManyOrg(columnToRowRes_1.getOpenManyOrg());//SimpleFieldAssign//sourceId:105710_1
            retData.setIsOpenSmsService(columnToRowRes_1.getIsOpenSmsService());//SimpleFieldAssign//sourceId:105711_1
            retData.setIsUsePlatformSmsService(columnToRowRes_1.getIsUsePlatformSmsService());//SimpleFieldAssign//sourceId:105712_1
            retData.setAccessKeyId(columnToRowRes_1.getAccessKeyId());//SimpleFieldAssign//sourceId:105852_1
            retData.setAccessKeySecret(columnToRowRes_1.getAccessKeySecret());//SimpleFieldAssign//sourceId:105853_1
            retData.setSubjectiveRatingTotalValue(columnToRowRes_1.getSubjectiveRatingTotalValue());//SimpleFieldAssign//sourceId:112838_1
            retData.setScoreDecimalPoint(columnToRowRes_1.getScoreDecimalPoint());//SimpleFieldAssign//sourceId:112839_1
            retData.setDegreeDecimalPoint(columnToRowRes_1.getDegreeDecimalPoint());//SimpleFieldAssign//sourceId:112841_1
            retData.setProgressDecimalPoint(columnToRowRes_1.getProgressDecimalPoint());//SimpleFieldAssign//sourceId:112842_1
            retData.setDecimalPointRules(columnToRowRes_1.getDecimalPointRules());//SimpleFieldAssign//sourceId:112843_1
            retData.setDecimalDigitsLastRules(columnToRowRes_1.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:112844_1
            retData.setSubjectiveMarkUnit(columnToRowRes_1.getSubjectiveMarkUnit());//SimpleFieldAssign//sourceId:112845_1
            retData.setReportManagementModel(columnToRowRes_1.getReportManagementModel());//SimpleFieldAssign//sourceId:113130_1
            retData.setNoPracticalValueObjIsProgReport(columnToRowRes_1.getNoPracticalValueObjIsProgReport());//SimpleFieldAssign//sourceId:113131_1
            retData.setReportType(columnToRowRes_1.getReportType());//SimpleFieldAssign//sourceId:113554_1
            retData.setIsOpenBudgetReport(columnToRowRes_1.getIsOpenBudgetReport());//SimpleFieldAssign//sourceId:127730_1
            retData.setIsOpenCustomReport(columnToRowRes_1.getIsOpenCustomReport());//SimpleFieldAssign//sourceId:127731_1
            retData.setSubjectiveRatingTotalValueUnit(columnToRowRes_1.getSubjectiveRatingTotalValueUnit());//SimpleFieldAssign//sourceId:129512_1
            retData.setSubjectiveScorePoint(columnToRowRes_1.getSubjectiveScorePoint());//SimpleFieldAssign//sourceId:131865_1
            retData.setNumGroActualUfuncType(columnToRowRes_1.getNumGroActualUfuncType());//SimpleFieldAssign//sourceId:141523_1
            retData.setNumGroSuperiorTargetUfuncType(columnToRowRes_1.getNumGroSuperiorTargetUfuncType());//SimpleFieldAssign//sourceId:141524_1
            retData.setPerGroActualUfuncType(columnToRowRes_1.getPerGroActualUfuncType());//SimpleFieldAssign//sourceId:141525_1
            retData.setPerGroSuperiorTargetUfuncType(columnToRowRes_1.getPerGroSuperiorTargetUfuncType());//SimpleFieldAssign//sourceId:141526_1
            retData.setPerDecActualUfuncType(columnToRowRes_1.getPerDecActualUfuncType());//SimpleFieldAssign//sourceId:141527_1
            retData.setPerDecSuperiorTargetUfuncType(columnToRowRes_1.getPerDecSuperiorTargetUfuncType());//SimpleFieldAssign//sourceId:141528_1
            retData.setRatioGroActualUfuncType(columnToRowRes_1.getRatioGroActualUfuncType());//SimpleFieldAssign//sourceId:141529_1
            retData.setRatioGroSuperiorTargetUfuncType(columnToRowRes_1.getRatioGroSuperiorTargetUfuncType());//SimpleFieldAssign//sourceId:141530_1
            retData.setRatioDecActualUfuncType(columnToRowRes_1.getRatioDecActualUfuncType());//SimpleFieldAssign//sourceId:141531_1
            retData.setRatioDecSuperiorTargetUfuncType(columnToRowRes_1.getRatioDecSuperiorTargetUfuncType());//SimpleFieldAssign//sourceId:141532_1
            retData.setProgressActualUfuncType(columnToRowRes_1.getProgressActualUfuncType());//SimpleFieldAssign//sourceId:141533_1
            retData.setProgressSuperiorTargetUfuncType(columnToRowRes_1.getProgressSuperiorTargetUfuncType());//SimpleFieldAssign//sourceId:141534_1
            retData.setNumDecActualUfuncType(columnToRowRes_1.getNumDecActualUfuncType());//SimpleFieldAssign//sourceId:141535_1
//retData.setNumDecSuperiorTargetUfuncType(columnToRowRes_1.getNumDecSuperiorTargetUfuncType());//SimpleFieldAssign//sourceId:141536_1
            retData.setSubQuaActualUfuncType(columnToRowRes_1.getSubQuaActualUfuncType());//SimpleFieldAssign//sourceId:141537_1
            retData.setSubQuaSuperiorTargetUfuncType(columnToRowRes_1.getSubQuaSuperiorTargetUfuncType());//SimpleFieldAssign//sourceId:141538_1
            retData.setCurSubjectiveScoreWeight(columnToRowRes_1.getCurSubjectiveScoreWeight());//SimpleFieldAssign//sourceId:158718_1
            retData.setProcessSubjectiveScoreWeight(columnToRowRes_1.getProcessSubjectiveScoreWeight());//SimpleFieldAssign//sourceId:158719_1
            retData.setIrregularCycleType(columnToRowRes_1.getIrregularCycleType());//SimpleFieldAssign//sourceId:347474_1
            retData.setWeightDecimalPoint(columnToRowRes_1.getWeightDecimalPoint() != null ? String.valueOf(columnToRowRes_1.getWeightDecimalPoint()) : "");//SimpleFieldAssign//sourceId:377009_1
            retData.setWeightPoint(columnToRowRes_1.getWeightPoint());//SimpleFieldAssign//sourceId:377010_1
            retData.setLastCycleType(columnToRowRes_1.getLastCycleType());//SimpleFieldAssign//sourceId:418088_1
            retData.setActualScoreFormula(columnToRowRes_1.getActualScoreFormula());//SimpleFieldAssign//sourceId:649555_1
            retData.setActualScoreIsOpenLocalLevelScore(columnToRowRes_1.getActualScoreIsOpenLocalLevelScore());//SimpleFieldAssign//sourceId:649556_1
            retData.setIncreasesDropDecimalPoint(columnToRowRes_1.getIncreasesDropDecimalPoint() != null ? String.valueOf(columnToRowRes_1.getIncreasesDropDecimalPoint()) : "");//SimpleFieldAssign//sourceId:771195_1
            retData.setActualValueDecimalPoint(columnToRowRes_1.getActualValueDecimalPoint());//SimpleFieldAssign//sourceId:771298_1
            retData.setIsUseWebsocket(columnToRowRes_1.getIsUseWebsocket());//SimpleFieldAssign//sourceId:1193213_1
            retData.setWebsocketAddress(columnToRowRes_1.getWebsocketAddress());//SimpleFieldAssign//sourceId:1193214_1
            retData.setWebsocketPort(columnToRowRes_1.getWebsocketPort() != null ? String.valueOf(columnToRowRes_1.getWebsocketPort()) : "");//SimpleFieldAssign//sourceId:1193215_1
            retData.setWebsocketAgreement(columnToRowRes_1.getWebsocketAgreement());//SimpleFieldAssign//sourceId:1205213_1
            retData.setWebsocketAddressFront(columnToRowRes_1.getWebsocketAddressFront());//SimpleFieldAssign//sourceId:1205214_1
            retData.setWebsocketPortFront(columnToRowRes_1.getWebsocketPortFront());//SimpleFieldAssign//sourceId:1205215_1
            retData.setWebsocketAgreementFront(columnToRowRes_1.getWebsocketAgreementFront());//SimpleFieldAssign//sourceId:1205216_1
            retData.setWebsocketUserId(columnToRowRes_1.getWebsocketUserId());//SimpleFieldAssign//sourceId:1205217_1
            retData.setWebsocketUserPassword(columnToRowRes_1.getWebsocketUserPassword());//SimpleFieldAssign//sourceId:1205218_1
            retData.setBudgetHierarchy(columnToRowRes_1.getBudgetHierarchy());//SimpleFieldAssign//sourceId:1237829_1
            retData.setBudgetReportHierarchy(columnToRowRes_1.getBudgetReportHierarchy());//SimpleFieldAssign//sourceId:1919551_1
            retData.setIsOpenBudget(columnToRowRes_1.getIsOpenBudget());//SimpleFieldAssign//sourceId:1237830_1
            retData.setPointsAccountUnit(columnToRowRes_1.getPointsAccountUnit());//SimpleFieldAssign//sourceId:1240690_1
            retData.setIsOpenFundsArrival(columnToRowRes_1.getIsOpenFundsArrival());//SimpleFieldAssign//sourceId:1571097_1
            retData.setIsAllowBudgetOverruns(columnToRowRes_1.getIsAllowBudgetOverruns());//SimpleFieldAssign//sourceId:1571098_1
            retData.setUseAccountSubjectType(columnToRowRes_1.getUseAccountSubjectType());//SimpleFieldAssign//sourceId:1571103_1
            retData.setUpdateCycleTypeCode(columnToRowRes_1.getUpdateCycleTypeCode());//SimpleFieldAssign//sourceId:1674341_1
            retData.setWorkCycleTypeCode(columnToRowRes_1.getWorkCycleTypeCode());//SimpleFieldAssign//sourceId:1674342_1
            retData.setIsTenementCycle(columnToRowRes_1.getIsTenementCycle());//SimpleFieldAssign//sourceId:1674343_1
        }


        return retData;
    }

    /**
     * D2-3查配置项匹配答案列表(公共)（跨服务）[2505]
     * gen by moon at 5/9/2023, 5:20:18 AM
     */
    @Trace(operationName = "D2-3查配置项匹配答案列表(公共)（跨服务）")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryConfItemMatchAnswerListComRespDto queryConfItemMatchAnswerListCom(QueryConfItemMatchAnswerListComReqDto reqDto) {


        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult_1 = new ArrayList<>();
//步骤0: 2-3-07查配置项匹配答案列表 - queryConfItemMatchAnswerList
        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult = new ArrayList<>();
        QueryConfItemMatchAnswerListReq queryConfItemMatchAnswerListReq = new QueryConfItemMatchAnswerListReq();
        queryConfItemMatchAnswerListReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:77235_1
        if (reqDto != null) {
            queryConfItemMatchAnswerListReq.setResultAspObjId(reqDto.getResultAspObjId());//SimpleFieldAssign//sourceId:77238_1
            queryConfItemMatchAnswerListReq.setResultAspObjType(reqDto.getResultAspObjType());//SimpleFieldAssign//sourceId:77237_1
            queryConfItemMatchAnswerListReq.setConfItemCode(reqDto.getConfItemCode());//SimpleFieldAssign//sourceId:77233_1
            queryConfItemMatchAnswerListReq.setConfSchemeId(reqDto.getConfSchemeId());//SimpleFieldAssign//sourceId:907077_1
            queryConfItemMatchAnswerListReq.setConfSchemeCode(reqDto.getConfSchemeCode());//SimpleFieldAssign//sourceId:77234_1
            queryConfItemMatchAnswerListReq.setIsInitialScheme(reqDto.getIsInitialScheme());//SimpleFieldAssign//sourceId:102534_1
            queryConfItemMatchAnswerListReq.setIsCeResult(reqDto.getIsCeResult());//SimpleFieldAssign//sourceId:77240_1
            queryConfItemMatchAnswerListReq.setIsPlatData(reqDto.getIsPlatData());//SimpleFieldAssign//sourceId:77239_1
        }

        /*2-3-07查配置项匹配答案列表[2506]   */
        Assert.isNull(queryConfItemMatchAnswerListReq.getConfItemCode(), "D2-3查配置项匹配答案列表(公共)（跨服务）-2-3-07查配置项匹配答案列表-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerListReq.getIsPlatData(), "D2-3查配置项匹配答案列表(公共)（跨服务）-2-3-07查配置项匹配答案列表-是否标准答案不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerListReq.getSubjectLifeCycle(), "D2-3查配置项匹配答案列表(公共)（跨服务）-2-3-07查配置项匹配答案列表-主体生命周期不能为空", false);
        listOmsConfSchemeOptionResult = mOmsConfSchemeOptionResultService.queryConfItemMatchAnswerList(queryConfItemMatchAnswerListReq)/*vcase invoke 本地 method 方法调用;*/;


        listOmsConfSchemeOptionResult_1 = listOmsConfSchemeOptionResult;

        QueryConfItemMatchAnswerListComRespDto retData = new QueryConfItemMatchAnswerListComRespDto();
        retData.setConfSchemeItemResultList(listOmsConfSchemeOptionResult_1.stream().map(item -> BeanUtil.toBean(item, ConfSchemeItemResultDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:77250_1


        return retData;
    }

    /**
     * D2-3查询主导航菜单列表[2179]
     * gen by moon at 8/10/2022, 4:01:45 PM
     */
    @Trace(operationName = "D2-3查询主导航菜单列表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryMainNavMenusListRespDto queryMainNavMenusList(QueryMainNavMenusListReqDto reqDto) {


        List<OmsConfClassItem> listOmsConfClassItem_1 = new ArrayList<>();
        List<OmsConfItem> listOmsConfItem_1 = new ArrayList<>();
        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult_1 = new ArrayList<>();
//步骤0: 2-3-07查询方案下选项配置结果详情 - queryConfItemResultDetail
        OmsConfSchemeOptionResult omsConfSchemeOptionResult = null;
        QueryConfItemResultDetailReq queryConfItemResultDetailReq = new QueryConfItemResultDetailReq();
        queryConfItemResultDetailReq.setResultAspObjId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:191141_1
        queryConfItemResultDetailReq.setResultAspObjType("TENANT_SPACE");//sourceId:191140_1
        queryConfItemResultDetailReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:191122_1

        /*2-3-07查询方案下选项配置结果详情[1939]   */
        Assert.isNull(queryConfItemResultDetailReq.getResultAspObjId(), "D2-3查询主导航菜单列表-2-3-07查询方案下选项配置结果详情-答案归属对象ID不能为空", false);
        Assert.isNull(queryConfItemResultDetailReq.getResultAspObjType(), "D2-3查询主导航菜单列表-2-3-07查询方案下选项配置结果详情-答案归属对象类型不能为空", false);
        Assert.isNull(queryConfItemResultDetailReq.getSubjectLifeCycle(), "D2-3查询主导航菜单列表-2-3-07查询方案下选项配置结果详情-主体生命周期不能为空", false);
        omsConfSchemeOptionResult = mOmsConfSchemeOptionResultService.queryConfItemResultDetail(queryConfItemResultDetailReq);


//步骤1: 2-3-06查分组下配置项列表 - queryConfClassItemList
        List<OmsConfClassItem> listOmsConfClassItem = new ArrayList<>();
        if (omsConfSchemeOptionResult != null) {
            QueryConfClassItemListReq queryConfClassItemListReq = new QueryConfClassItemListReq();
            queryConfClassItemListReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:191183_1
            if (reqDto != null) {
                queryConfClassItemListReq.setConfItemClassCode(reqDto.getConfItemClassCode());//sourceId:191188_1
            }
            if (omsConfSchemeOptionResult != null) {
                queryConfClassItemListReq.setConfSchemeCode(omsConfSchemeOptionResult.getConfSchemeCode());//sourceId:191182_1
            }

            /*2-3-06查分组下配置项列表[1934]   */
            Assert.isNull(queryConfClassItemListReq.getConfItemClassCode(), "D2-3查询主导航菜单列表-2-3-06查分组下配置项列表-所属配置项分组标识不能为空", false);
            Assert.isNull(queryConfClassItemListReq.getConfSchemeCode(), "D2-3查询主导航菜单列表-2-3-06查分组下配置项列表-所属配置方案标识不能为空", false);
            Assert.isNull(queryConfClassItemListReq.getSubjectLifeCycle(), "D2-3查询主导航菜单列表-2-3-06查分组下配置项列表-生命周期状态不能为空", false);
            listOmsConfClassItem = mOmsConfClassItemService.queryConfClassItemList(queryConfClassItemListReq);

            listOmsConfClassItem_1 = listOmsConfClassItem;
        }

//步骤2: 2-3-02批量查询配置项列表 - batchQueryConfItemList
        List<OmsConfItem> listOmsConfItem = new ArrayList<>();
        if (listOmsConfClassItem != null && listOmsConfClassItem.size() > 0) {
            BatchQueryConfItemListReq batchQueryConfItemListReq = new BatchQueryConfItemListReq();
            batchQueryConfItemListReq.setConfItemList(listOmsConfClassItem.stream().map(item -> item.getConfItemId())
                    .collect(Collectors.toList()));//sourceId:191190_1
            batchQueryConfItemListReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:191192_1

            /*2-3-02批量查询配置项列表[1997]   */
            Assert.isNull(batchQueryConfItemListReq.getSubjectLifeCycle(), "D2-3查询主导航菜单列表-2-3-02批量查询配置项列表-主体生命周期不能为空", false);
            listOmsConfItem = mOmsConfItemService.batchQueryConfItemList(batchQueryConfItemListReq);

            listOmsConfItem_1 = listOmsConfItem;
        }

//步骤3: 2-3-06批量查询方案下选项配置结果列表ByCodes - batchQueryConfItemResultListByCodes
        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult = new ArrayList<>();
        if (listOmsConfClassItem != null && listOmsConfClassItem.size() > 0) {
            BatchQueryConfItemResultListByCodesReq batchQueryConfItemResultListByCodesReq = new BatchQueryConfItemResultListByCodesReq();
            batchQueryConfItemResultListByCodesReq.setConfItemCodeList(listOmsConfClassItem.stream().map(item -> item.getConfItemCode())
                    .collect(Collectors.toList()));//sourceId:191207_1
            batchQueryConfItemResultListByCodesReq.setResultAspObjType("TENANT_SPACE");//sourceId:191208_1
            batchQueryConfItemResultListByCodesReq.setResultAspObjId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:191209_1
            batchQueryConfItemResultListByCodesReq.setIsInitialScheme("TRUE");//sourceId:191210_1
            batchQueryConfItemResultListByCodesReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:191211_1

            /*2-3-07批量查询配置选项答案列表[3833]   */
            Assert.isNull(batchQueryConfItemResultListByCodesReq.getResultAspObjType(), "D2-3查询主导航菜单列表-2-3-07批量查询配置选项答案列表-答案归属对象类型不能为空", false);
            Assert.isNull(batchQueryConfItemResultListByCodesReq.getResultAspObjId(), "D2-3查询主导航菜单列表-2-3-07批量查询配置选项答案列表-答案归属对象ID不能为空", false);
            Assert.isNull(batchQueryConfItemResultListByCodesReq.getIsInitialScheme(), "D2-3查询主导航菜单列表-2-3-07批量查询配置选项答案列表-是否初始方案不能为空", false);
            Assert.isNull(batchQueryConfItemResultListByCodesReq.getSubjectLifeCycle(), "D2-3查询主导航菜单列表-2-3-07批量查询配置选项答案列表-主体生命周期不能为空", false);
            listOmsConfSchemeOptionResult = mOmsConfSchemeOptionResultService.batchQueryConfItemResultListByCodes(batchQueryConfItemResultListByCodesReq);

            listOmsConfSchemeOptionResult_1 = listOmsConfSchemeOptionResult;
        }

        QueryMainNavMenusListRespDto retData = new QueryMainNavMenusListRespDto();
        //数据集融合
        if (listOmsConfClassItem_1 != null && !CollectionUtil.isEmpty(listOmsConfClassItem_1)) {
            for (OmsConfClassItem omsConfClassItem : listOmsConfClassItem_1) {
                MainNavMenusDto retElm = new MainNavMenusDto();
                retElm.setClassConfItemId(omsConfClassItem.getClassConfItemId());//sourceId:78006_2
                retElm.setConfItemId(omsConfClassItem.getConfItemId());//sourceId:77908_2
                retElm.setConfItemCode(omsConfClassItem.getConfItemCode());//sourceId:77909_2
                retElm.setThrowPlace(omsConfClassItem.getThrowPlace());//sourceId:77911_2
                retElm.setExtensionField1(omsConfClassItem.getExtensionField1());//sourceId:77913_2
                retElm.setExtensionField2(omsConfClassItem.getExtensionField2());//sourceId:77915_2
                retElm.setExtensionField3(omsConfClassItem.getExtensionField3());//sourceId:77916_2
                retElm.setOrderNumber(omsConfClassItem.getOrderNumber());//sourceId:77917_2
                retData.getMainNavMenusList().add(retElm);
                if (listOmsConfItem_1 != null) {
                    for (OmsConfItem omsConfItem : listOmsConfItem_1) {
                        if (omsConfItem.getConfItemId().equals(omsConfClassItem.getConfItemId())) {
                            retElm.setConfItemName(omsConfItem.getConfItemName());//sourceId:77910_2
                            retElm.setShortName(omsConfItem.getShortName());//sourceId:77912_2
                            retElm.setConfItemDes(omsConfItem.getConfItemDes());//sourceId:77914_2
                        }
                    }
                }

            }
        }//sourceId:191194_1
//todo dong 未找到匹配生成策略,请检查生成策略retData.setNavMenusList(listOmsConfSchemeOptionResult_1.getOptionResultId()/listOmsConfSchemeOptionResult_1.getOptionThrowPlace()/listOmsConfSchemeOptionResult_1.getConfOptionName()/listOmsConfSchemeOptionResult_1.getConfOptionCode()/listOmsConfSchemeOptionResult_1.getExtensionField1()/listOmsConfSchemeOptionResult_1.getExtensionField2()/listOmsConfSchemeOptionResult_1.getExtensionField3()/listOmsConfSchemeOptionResult_1.getConfOptionSortNum()),数据源项; to( ==>tableName:undefined, fieldEnname:navMenusList ,uniqueId: 191213_1 uniqueSourceId:out_null_null) from (varName:undefined fieldundefined)
        retData.setNavMenusList(listOmsConfSchemeOptionResult_1.stream().map(p -> BeanUtil.toBean(p, NavMenusDto.class)).collect(Collectors.toList()));


        return retData;
    }

    /**
     * D2-3判断UCD菜单(边界)[2177]
     * gen by moon at 4/1/2024, 1:33:35 AM
     */
    @Trace(operationName = "D2-3判断UCD菜单(边界)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public JudgeUcdMenuBorderRespDto judgeUcdMenuBorder(JudgeUcdMenuBorderReqDto reqDto) {


        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_1 = null;
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_3 = null;
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_5 = null;
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_7 = null;
        if ((reqDto != null && reqDto.getRoleMemberId() != null || reqDto != null && reqDto.getDeptBusinessIdentity() != null && reqDto.getDeptBusinessIdentity().equals("SCHOOL_LEADER"))) {
            //if((D2-3判断UCD菜单(边界).角色人员ID 值不等于空  or D2-3判断UCD菜单(边界).部门业务身份 等于 校领导))  2514

            QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto = null;
            QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto = new QueryConfItemMatchAnswerDetailComReqDto();
            queryConfItemMatchAnswerDetailComReqDto.setResultAspObjId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:102522_1_5434
            queryConfItemMatchAnswerDetailComReqDto.setResultAspObjType("TENANT_SPACE");//sourceId:102521_1_5434
            queryConfItemMatchAnswerDetailComReqDto.setConfItemCode("TOP_MGT_DEFAULT");//CUSTOM_CONVENTION//sourceId:102520_1_5434
            queryConfItemMatchAnswerDetailComReqDto.setIsPlatData("FALSE");//sourceId:719407_1_5434

            /*D2-3查配置项匹配答案详情(公共)（高层）[2486]   */
            Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getResultAspObjId(), "D2-3判断UCD菜单(边界)-D2-3查配置项匹配答案详情(公共)（高层）-开通对象ID不能为空", false);
            Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getResultAspObjType(), "D2-3判断UCD菜单(边界)-D2-3查配置项匹配答案详情(公共)（高层）-开通对象类型编码不能为空", false);
            Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getConfItemCode(), "D2-3判断UCD菜单(边界)-D2-3查配置项匹配答案详情(公共)（高层）-配置项标识不能为空", false);
            Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getIsPlatData(), "D2-3判断UCD菜单(边界)-D2-3查配置项匹配答案详情(公共)（高层）-是否标准答案不能为空", false);
            queryConfItemMatchAnswerDetailComRespDto = queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto)/*vcase invoke 同服务,同domain*/;


            queryConfItemMatchAnswerDetailComRespDto_1 = queryConfItemMatchAnswerDetailComRespDto;
//processBranchName:正常结束 ,processBranchId:2516

        } else if ((reqDto != null && reqDto.getRoleMemberId() == null && reqDto != null && reqDto.getInductionRecordId() != null && !(reqDto != null && reqDto.getPositionType() != null && reqDto.getPositionType().equals("MEMBER")) && reqDto != null && reqDto.getLevelNumber() != null && reqDto != null && reqDto.getLevelNumber() == 1L && reqDto != null && reqDto.getDeptId() != null && !(reqDto != null && reqDto.getDeptBusinessIdentity() != null && reqDto.getDeptBusinessIdentity().equals("SCHOOL_LEADER")))) {
            //elseif((D2-3判断UCD菜单(边界).角色人员ID 值等于空  and D2-3判断UCD菜单(边界).就职记录ID 值不等于空  and D2-3判断UCD菜单(边界).职务性质 不等于 成员 and D2-3判断UCD菜单(边界).层级 值不等于空  and D2-3判断UCD菜单(边界).层级 等于 1 and D2-3判断UCD菜单(边界).非组织领导部门ID 值不等于空  and D2-3判断UCD菜单(边界).部门业务身份 不等于 校领导))  2517

            QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_2 = null;
            QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto_1 = new QueryConfItemMatchAnswerDetailComReqDto();
            queryConfItemMatchAnswerDetailComReqDto_1.setResultAspObjId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:102613_1_5436
            queryConfItemMatchAnswerDetailComReqDto_1.setResultAspObjType("TENANT_SPACE");//sourceId:102612_1_5436
            queryConfItemMatchAnswerDetailComReqDto_1.setConfItemCode("MID_MGT_DEFAULT");//CUSTOM_CONVENTION//sourceId:102611_1_5436
            queryConfItemMatchAnswerDetailComReqDto_1.setIsPlatData("FALSE");//sourceId:719408_1_5436

            /*D2-3查配置项匹配答案详情(公共)（中层）[2486]   */
            Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_1.getResultAspObjId(), "D2-3判断UCD菜单(边界)-D2-3查配置项匹配答案详情(公共)（中层）-开通对象ID不能为空", false);
            Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_1.getResultAspObjType(), "D2-3判断UCD菜单(边界)-D2-3查配置项匹配答案详情(公共)（中层）-开通对象类型编码不能为空", false);
            Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_1.getConfItemCode(), "D2-3判断UCD菜单(边界)-D2-3查配置项匹配答案详情(公共)（中层）-配置项标识不能为空", false);
            Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_1.getIsPlatData(), "D2-3判断UCD菜单(边界)-D2-3查配置项匹配答案详情(公共)（中层）-是否标准答案不能为空", false);
            queryConfItemMatchAnswerDetailComRespDto_2 = queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto_1)/*vcase invoke 同服务,同domain*/;


            queryConfItemMatchAnswerDetailComRespDto_3 = queryConfItemMatchAnswerDetailComRespDto_2;
//processBranchName:正常结束 ,processBranchId:2533

        } else if ((reqDto != null && reqDto.getRoleMemberId() == null && reqDto != null && reqDto.getInductionRecordId() != null && !(reqDto != null && reqDto.getPositionType() != null && reqDto.getPositionType().equals("MEMBER")) && reqDto != null && reqDto.getLevelNumber() != null && reqDto != null && reqDto.getLevelNumber() > 1L && reqDto != null && reqDto.getDeptId() != null)) {
            //elseif((D2-3判断UCD菜单(边界).角色人员ID 值等于空  and D2-3判断UCD菜单(边界).就职记录ID 值不等于空  and D2-3判断UCD菜单(边界).职务性质 不等于 成员 and D2-3判断UCD菜单(边界).层级 值不等于空  and D2-3判断UCD菜单(边界).层级 大于 1 and D2-3判断UCD菜单(边界).非组织领导部门ID 值不等于空 ))  2534

            QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_4 = null;
            QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto_2 = new QueryConfItemMatchAnswerDetailComReqDto();
            queryConfItemMatchAnswerDetailComReqDto_2.setResultAspObjId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:102622_1_5438
            queryConfItemMatchAnswerDetailComReqDto_2.setResultAspObjType("TENANT_SPACE");//sourceId:102621_1_5438
            queryConfItemMatchAnswerDetailComReqDto_2.setConfItemCode("GRASS_ROOTS_DEPT_DEFAULT");//CUSTOM_CONVENTION//sourceId:102620_1_5438
            queryConfItemMatchAnswerDetailComReqDto_2.setIsPlatData("FALSE");//sourceId:719409_1_5438

            /*D2-3查配置项匹配答案详情(公共)（基层部门）[2486]   */
            Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_2.getResultAspObjId(), "D2-3判断UCD菜单(边界)-D2-3查配置项匹配答案详情(公共)（基层部门）-开通对象ID不能为空", false);
            Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_2.getResultAspObjType(), "D2-3判断UCD菜单(边界)-D2-3查配置项匹配答案详情(公共)（基层部门）-开通对象类型编码不能为空", false);
            Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_2.getConfItemCode(), "D2-3判断UCD菜单(边界)-D2-3查配置项匹配答案详情(公共)（基层部门）-配置项标识不能为空", false);
            Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_2.getIsPlatData(), "D2-3判断UCD菜单(边界)-D2-3查配置项匹配答案详情(公共)（基层部门）-是否标准答案不能为空", false);
            queryConfItemMatchAnswerDetailComRespDto_4 = queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto_2)/*vcase invoke 同服务,同domain*/;


            queryConfItemMatchAnswerDetailComRespDto_5 = queryConfItemMatchAnswerDetailComRespDto_4;
//processBranchName:正常结束 ,processBranchId:2536

        } else if ((reqDto != null && reqDto.getRoleMemberId() == null && reqDto != null && reqDto.getInductionRecordId() != null && reqDto != null && reqDto.getPositionType() != null && reqDto.getPositionType().equals("MEMBER")) || (reqDto != null && reqDto.getLevelNumber() == null || reqDto != null && reqDto.getInductionRecordId() == null || reqDto != null && reqDto.getPositionType() == null)) {
            //elseif((D2-3判断UCD菜单(边界).角色人员ID 值等于空  and D2-3判断UCD菜单(边界).就职记录ID 值不等于空  and D2-3判断UCD菜单(边界).职务性质 等于 成员) or (D2-3判断UCD菜单(边界).层级 值等于空  or D2-3判断UCD菜单(边界).就职记录ID 值等于空  or D2-3判断UCD菜单(边界).职务性质 值等于空 ))  2537

            QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_6 = null;
            QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto_3 = new QueryConfItemMatchAnswerDetailComReqDto();
            queryConfItemMatchAnswerDetailComReqDto_3.setResultAspObjId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:102631_1_5439
            queryConfItemMatchAnswerDetailComReqDto_3.setResultAspObjType("TENANT_SPACE");//sourceId:102630_1_5439
            queryConfItemMatchAnswerDetailComReqDto_3.setConfItemCode("GRASS_ROOTS_DEFAULT");//CUSTOM_CONVENTION//sourceId:102629_1_5439
            queryConfItemMatchAnswerDetailComReqDto_3.setIsPlatData("FALSE");//sourceId:719410_1_5439

            /*D2-3查配置项匹配答案详情(公共)（基层个人）[2486]   */
            Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_3.getResultAspObjId(), "D2-3判断UCD菜单(边界)-D2-3查配置项匹配答案详情(公共)（基层个人）-开通对象ID不能为空", false);
            Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_3.getResultAspObjType(), "D2-3判断UCD菜单(边界)-D2-3查配置项匹配答案详情(公共)（基层个人）-开通对象类型编码不能为空", false);
            Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_3.getConfItemCode(), "D2-3判断UCD菜单(边界)-D2-3查配置项匹配答案详情(公共)（基层个人）-配置项标识不能为空", false);
            Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_3.getIsPlatData(), "D2-3判断UCD菜单(边界)-D2-3查配置项匹配答案详情(公共)（基层个人）-是否标准答案不能为空", false);
            queryConfItemMatchAnswerDetailComRespDto_6 = queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto_3)/*vcase invoke 同服务,同domain*/;


            queryConfItemMatchAnswerDetailComRespDto_7 = queryConfItemMatchAnswerDetailComRespDto_6;
//processBranchName:正常结束 ,processBranchId:2539

        } else {
            //else  2540

            QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_8 = null;
            QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto_4 = new QueryConfItemMatchAnswerDetailComReqDto();
            queryConfItemMatchAnswerDetailComReqDto_4.setResultAspObjId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:102631_1_5440
            queryConfItemMatchAnswerDetailComReqDto_4.setResultAspObjType("TENANT_SPACE");//sourceId:102630_1_5440
            queryConfItemMatchAnswerDetailComReqDto_4.setConfItemCode("GRASS_ROOTS_DEFAULT");//CUSTOM_CONVENTION//sourceId:102629_1_5440
            queryConfItemMatchAnswerDetailComReqDto_4.setIsPlatData("FALSE");//sourceId:719410_1_5440

            /*D2-3查配置项匹配答案详情(公共)（基层个人）[2486]   */
            Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_4.getResultAspObjId(), "D2-3判断UCD菜单(边界)-D2-3查配置项匹配答案详情(公共)（基层个人）-开通对象ID不能为空", false);
            Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_4.getResultAspObjType(), "D2-3判断UCD菜单(边界)-D2-3查配置项匹配答案详情(公共)（基层个人）-开通对象类型编码不能为空", false);
            Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_4.getConfItemCode(), "D2-3判断UCD菜单(边界)-D2-3查配置项匹配答案详情(公共)（基层个人）-配置项标识不能为空", false);
            Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_4.getIsPlatData(), "D2-3判断UCD菜单(边界)-D2-3查配置项匹配答案详情(公共)（基层个人）-是否标准答案不能为空", false);
            queryConfItemMatchAnswerDetailComRespDto_8 = queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto_4)/*vcase invoke 同服务,同domain*/;


            queryConfItemMatchAnswerDetailComRespDto_7 = queryConfItemMatchAnswerDetailComRespDto_8;
//processBranchName:正常结束 ,processBranchId:2542

        }
        JudgeUcdMenuBorderRespDto retData = new JudgeUcdMenuBorderRespDto();
        if (queryConfItemMatchAnswerDetailComRespDto_1 != null) {
            retData.setOptionResultId(queryConfItemMatchAnswerDetailComRespDto_1.getOptionResultId());//SimpleFieldAssign//sourceId:102638_1
            retData.setConfOptionName(queryConfItemMatchAnswerDetailComRespDto_1.getConfOptionName());//SimpleFieldAssign//sourceId:102639_1
            retData.setEndValue(queryConfItemMatchAnswerDetailComRespDto_1.getEndValue());//SimpleFieldAssign//sourceId:102640_1
        }
        if (queryConfItemMatchAnswerDetailComRespDto_3 != null) {
            retData.setOptionResultId(queryConfItemMatchAnswerDetailComRespDto_3.getOptionResultId());//SimpleFieldAssign//sourceId:102638_1
            retData.setConfOptionName(queryConfItemMatchAnswerDetailComRespDto_3.getConfOptionName());//SimpleFieldAssign//sourceId:102639_1
            retData.setEndValue(queryConfItemMatchAnswerDetailComRespDto_3.getEndValue());//SimpleFieldAssign//sourceId:102640_1
        }
        if (queryConfItemMatchAnswerDetailComRespDto_5 != null) {
            retData.setOptionResultId(queryConfItemMatchAnswerDetailComRespDto_5.getOptionResultId());//SimpleFieldAssign//sourceId:102638_1
            retData.setConfOptionName(queryConfItemMatchAnswerDetailComRespDto_5.getConfOptionName());//SimpleFieldAssign//sourceId:102639_1
            retData.setEndValue(queryConfItemMatchAnswerDetailComRespDto_5.getEndValue());//SimpleFieldAssign//sourceId:102640_1
        }
        if (queryConfItemMatchAnswerDetailComRespDto_7 != null) {
            retData.setOptionResultId(queryConfItemMatchAnswerDetailComRespDto_7.getOptionResultId());//SimpleFieldAssign//sourceId:102638_1
            retData.setConfOptionName(queryConfItemMatchAnswerDetailComRespDto_7.getConfOptionName());//SimpleFieldAssign//sourceId:102639_1
            retData.setEndValue(queryConfItemMatchAnswerDetailComRespDto_7.getEndValue());//SimpleFieldAssign//sourceId:102640_1
        }


        return retData;
    }

    /**
     * D2-3修改方案下选项配置结果[3180]
     * gen by moon at 8/26/2022, 12:02:16 PM
     */
    @Trace(operationName = "D2-3修改方案下选项配置结果")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public UpdateConfItemResultRespDto updateConfItemResult(UpdateConfItemResultReqDto reqDto) {


        //步骤0: 2-3-07修改方案下选项配置结果 - updateConfItemResult
        boolean bOOLEAN;
        OmsConfSchemeOptionResult omsConfSchemeOptionResult = new OmsConfSchemeOptionResult();
        if (reqDto != null) {
            omsConfSchemeOptionResult.setOptionResultId(reqDto.getOptionResultId());//sourceId:116784_1
            omsConfSchemeOptionResult.setExtensionField1(reqDto.getExtensionField1());//sourceId:116793_1
            omsConfSchemeOptionResult.setExtensionField2(reqDto.getExtensionField2());//sourceId:116794_1
            omsConfSchemeOptionResult.setExtensionField3(reqDto.getExtensionField3());//sourceId:116795_1
            omsConfSchemeOptionResult.setOptionThrowPlace(reqDto.getOptionThrowPlace());//sourceId:192848_1
        }

        /*2-3-07修改方案下选项配置结果[1937]   */
        Assert.isNull(omsConfSchemeOptionResult.getOptionResultId(), "D2-3修改方案下选项配置结果-2-3-07修改方案下选项配置结果-选项结果ID不能为空", false);
        bOOLEAN = mOmsConfSchemeOptionResultService.updateConfItemResult(omsConfSchemeOptionResult);


        UpdateConfItemResultRespDto retData = new UpdateConfItemResultRespDto();


        return retData;
    }

    /**
     * D2-3查询答案二次设置详情[3178]
     * gen by moon at 8/10/2022, 4:01:47 PM
     */
    @Trace(operationName = "D2-3查询答案二次设置详情")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryConfAnswerSecSetDetailRespDto queryConfAnswerSecSetDetail(QueryConfAnswerSecSetDetailReqDto reqDto) {


        OmsConfSchemeOptionResult omsConfSchemeOptionResult_1 = null;
//步骤0: 2-3-07查询方案下选项配置结果详情 - queryConfItemResultDetail
        OmsConfSchemeOptionResult omsConfSchemeOptionResult = null;
        QueryConfItemResultDetailReq queryConfItemResultDetailReq = new QueryConfItemResultDetailReq();
        if (reqDto != null) {
            queryConfItemResultDetailReq.setOptionResultId(reqDto.getOptionResultId());//sourceId:116734_1
            queryConfItemResultDetailReq.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//sourceId:116735_1
            queryConfItemResultDetailReq.setIsArchive(reqDto.getIsArchive());//sourceId:116736_1
        }

        /*2-3-07查询方案下选项配置结果详情[1939]   */
        Assert.isNull(queryConfItemResultDetailReq.getOptionResultId(), "D2-3查询答案二次设置详情-2-3-07查询方案下选项配置结果详情-选项结果ID不能为空", false);
        omsConfSchemeOptionResult = mOmsConfSchemeOptionResultService.queryConfItemResultDetail(queryConfItemResultDetailReq);

        omsConfSchemeOptionResult_1 = omsConfSchemeOptionResult;

        QueryConfAnswerSecSetDetailRespDto retData = new QueryConfAnswerSecSetDetailRespDto();
        if (omsConfSchemeOptionResult_1 != null) {
            retData.setOptionResultId(omsConfSchemeOptionResult_1.getOptionResultId());//sourceId:116765_1
            retData.setExtensionField1(omsConfSchemeOptionResult_1.getExtensionField1());//sourceId:116766_1
            retData.setExtensionField2(omsConfSchemeOptionResult_1.getExtensionField2());//sourceId:116767_1
            retData.setConfItemClassName(omsConfSchemeOptionResult_1.getConfItemClassName());//sourceId:116768_1
            retData.setExtensionField3(omsConfSchemeOptionResult_1.getExtensionField3());//sourceId:116769_1
            // TODO: 2022/9/6 胡睿哲 手改
//retData.setThrowPlace(omsConfSchemeOptionResult_1.getThrowPlace());//sourceId:136548_1
            retData.setOptionThrowPlace(omsConfSchemeOptionResult_1.getOptionThrowPlace());//sourceId:192844_1
        }


        return retData;
    }

    /**
     * D2-3查询过滤已添加选项列表[3319]
     * gen by moon at 7/15/2022, 4:40:33 PM
     */
    @Trace(operationName = "D2-3查询过滤已添加选项列表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryFilterConfOptionListRespDto queryFilterConfOptionList(QueryFilterConfOptionListReqDto reqDto) {


        GenerateConfOptionRespDto collectionRemoveExistingDataRes_1 = null;
//步骤0: 2-3-01查询配置选项列表 - queryConfOptionList
        List<OmsConfOption> listOmsConfOption = new ArrayList<>();
        QueryConfOptionListReq queryConfOptionListReq = new QueryConfOptionListReq();
        queryConfOptionListReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:128720_1
        if (reqDto != null) {
            queryConfOptionListReq.setConfOptionName(reqDto.getConfOptionName());//sourceId:128718_1
        }

        /*2-3-01查询配置选项列表[1913]   */
        listOmsConfOption = mOmsConfOptionService.queryConfOptionList(queryConfOptionListReq);


//步骤1: 2-3-03查询配置项下选项关系列表 - queryConfItemOptionList
        List<OmsConfItemOptionRelationship> listOmsConfItemOptionRelationship = new ArrayList<>();
        QueryConfItemOptionListReq queryConfItemOptionListReq = new QueryConfItemOptionListReq();
        queryConfItemOptionListReq.setIsArchive("FALSE");//sourceId:128724_1
        if (reqDto != null) {
            queryConfItemOptionListReq.setConfItemId(reqDto.getConfItemId());//sourceId:128726_1
        }

        /*2-3-03查询配置项下选项关系列表[1918]   */
        listOmsConfItemOptionRelationship = mOmsConfItemOptionRelationshipService.queryConfItemOptionList(queryConfItemOptionListReq);


//步骤2: M2过滤配置项下配置选项（特殊方法） - generateConfOption
        //ModelCode: collectionRemoveExistingData
        GenerateConfOptionRespDto collectionRemoveExistingDataRes = null;
        if (listOmsConfOption != null && listOmsConfOption.size() > 0) {
            GenerateConfOptionReqDto collectionRemoveExistingDataReq = new GenerateConfOptionReqDto();
            collectionRemoveExistingDataReq.setConfOptionList(listOmsConfOption.stream().map(item -> BeanUtil.toBean(item, ConfOptionDto.class)).collect(Collectors.toList()));//sourceId:128731_1
            collectionRemoveExistingDataReq.setConfItemOptionList(listOmsConfItemOptionRelationship.stream().map(item -> item.getConfOptionId())
                    .collect(Collectors.toList()));//sourceId:128732_1

            /*M2过滤配置项下配置选项（特殊方法）[3320]  入参两个数据集，通过已存在标识字段匹配，去除第一个数据集中已存在的第二个数据集的数据 */
            collectionRemoveExistingDataRes = nbConfScheme.generateConfOption(collectionRemoveExistingDataReq);

            collectionRemoveExistingDataRes_1 = collectionRemoveExistingDataRes;
        }

        QueryFilterConfOptionListRespDto retData = new QueryFilterConfOptionListRespDto();
        if (collectionRemoveExistingDataRes_1 != null) {
            retData.setConfOptionList(collectionRemoveExistingDataRes_1.getConfOptionList());//sourceId:128736_1
        }


        return retData;
    }

    /**
     * D2-3新增配置项下选项[2055]
     * gen by moon at 10/1/2023, 12:33:55 AM
     */
    @Trace(operationName = "D2-3新增配置项下选项")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public AddConfItemConfOptionRespDto addConfItemConfOption(AddConfItemConfOptionReqDto reqDto) {


        String string_1 = null;
        String string_3 = null;
//virtualUsage 2-3-01查询配置选项详情  6962
        OmsConfOption omsConfOption = null;
        QueryConfOptionDetailReq queryConfOptionDetailReq = new QueryConfOptionDetailReq();
        if (reqDto != null) {
            queryConfOptionDetailReq.setConfOptionCode(reqDto.getConfOptionCode());//SimpleFieldAssign//sourceId:126504_1_6962
        }

        /*2-3-01查询配置选项详情[1912]   */
        Assert.isNull(queryConfOptionDetailReq.getConfOptionCode(), "D2-3新增配置项下选项-2-3-01查询配置选项详情-选项标识不能为空", false);
        omsConfOption = mOmsConfOptionService.queryConfOptionDetail(queryConfOptionDetailReq)/*vcase invoke 本地 method 方法调用;*/;


        if ((omsConfOption == null)) {
            //if(2-3-01查询配置选项详情.出参 值等于空 )  6963

            String string = null;
            OmsConfOption omsConfOption_2 = new OmsConfOption();
            omsConfOption_2.setIsTemporaryLock("TRUE");//sourceId:103797_1_6964
            if (reqDto != null) {
                omsConfOption_2.setConfOptionCode(reqDto.getConfOptionCode());//SimpleFieldAssign//sourceId:59936_1_6964
                omsConfOption_2.setConfOptionName(reqDto.getConfOptionName());//SimpleFieldAssign//sourceId:59937_1_6964
                omsConfOption_2.setConfOptionDes(reqDto.getConfOptionDes());//SimpleFieldAssign//sourceId:103461_1_6964
            }

            /*2-3-01新增配置选项[1909]   */
            Assert.isNull(omsConfOption_2.getConfOptionCode(), "D2-3新增配置项下选项-2-3-01新增配置选项-选项标识不能为空", false);
            Assert.isNull(omsConfOption_2.getConfOptionName(), "D2-3新增配置项下选项-2-3-01新增配置选项-选项名称不能为空", false);
            Assert.isNull(omsConfOption_2.getIsTemporaryLock(), "D2-3新增配置项下选项-2-3-01新增配置选项-临时自动锁定不能为空", false);
            string = mOmsConfOptionService.addConfOption(omsConfOption_2)/*vcase invoke 本地 method 方法调用;*/;


            string_1 = string;
            List<OmsConfItemOptionRelationship> listOmsConfItemOptionRelationship = new ArrayList<>();
            QueryConfItemOptionListReq queryConfItemOptionListReq = new QueryConfItemOptionListReq();
            queryConfItemOptionListReq.setIsArchive("FALSE");//sourceId:999852_1_43778
            if (reqDto != null) {
                queryConfItemOptionListReq.setConfItemId(reqDto.getConfItemId());//SimpleFieldAssign//sourceId:999851_1_43778
            }

            /*2-3-03查选项关系列表[1918]   */
            Assert.isNull(queryConfItemOptionListReq.getConfItemId(), "D2-3新增配置项下选项-2-3-03查选项关系列表-冗余配置项ID不能为空", false);
            Assert.isNull(queryConfItemOptionListReq.getIsArchive(), "D2-3新增配置项下选项-2-3-03查选项关系列表-是否存档不能为空", false);
            listOmsConfItemOptionRelationship = mOmsConfItemOptionRelationshipService.queryConfItemOptionList(queryConfItemOptionListReq)/*vcase invoke 本地 method 方法调用;*/;


//ModelCode: maxOfMultipleNumAddOne
            ObtainMaxOfCollectionsAddOneRespDto maxOfMultipleNumAddOneRes = null;
            ObtainMaxOfCollectionsAddOneReqDto maxOfMultipleNumAddOneReq = new ObtainMaxOfCollectionsAddOneReqDto();
            if (listOmsConfItemOptionRelationship != null && !CollectionUtil.isEmpty(listOmsConfItemOptionRelationship) && listOmsConfItemOptionRelationship != null && !CollectionUtil.isEmpty(listOmsConfItemOptionRelationship)) {
                maxOfMultipleNumAddOneReq.setMaxOfMultipleNumList(listOmsConfItemOptionRelationship.stream().map(item -> item.getOrderNumber())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:999842_1_43779
            }

            /*M2-数据集最大值加一[4617]  用于取数据集中最大的数值，在最大数值基础上加一，输出 */

            maxOfMultipleNumAddOneRes = nbConfScheme.obtainMaxOfCollectionsAddOne(maxOfMultipleNumAddOneReq);


            String string_2 = null;
            if (string != null) {
                OmsConfItemOptionRelationship omsConfItemOptionRelationship = new OmsConfItemOptionRelationship();
                if (string != null) {
                    omsConfItemOptionRelationship.setConfOptionId(string);//SimpleFieldAssign//sourceId:62624_1_6965
                }
                if (reqDto != null) {
                    omsConfItemOptionRelationship.setConfOptionCode(reqDto.getConfOptionCode());//SimpleFieldAssign//sourceId:59942_1_6965
                    omsConfItemOptionRelationship.setConfOptionName(reqDto.getConfOptionName());//SimpleFieldAssign//sourceId:62625_1_6965
                    omsConfItemOptionRelationship.setConfItemId(reqDto.getConfItemId());//SimpleFieldAssign//sourceId:62623_1_6965
                    omsConfItemOptionRelationship.setConfItemCode(reqDto.getConfItemCode());//SimpleFieldAssign//sourceId:59941_1_6965
                }
                if (maxOfMultipleNumAddOneRes != null) {
                    omsConfItemOptionRelationship.setOrderNumber(maxOfMultipleNumAddOneRes.getOrderNumber());//SimpleFieldAssign//sourceId:128777_1_6965
                }

                /*2-3-03新增配置项下选项关系[1914]   */
                Assert.isNull(omsConfItemOptionRelationship.getConfOptionId(), "D2-3新增配置项下选项-2-3-03新增配置项下选项关系-冗余选项ID不能为空", false);
                Assert.isNull(omsConfItemOptionRelationship.getConfOptionCode(), "D2-3新增配置项下选项-2-3-03新增配置项下选项关系-选项标识不能为空", false);
                Assert.isNull(omsConfItemOptionRelationship.getConfOptionName(), "D2-3新增配置项下选项-2-3-03新增配置项下选项关系-冗余选项名称不能为空", false);
                Assert.isNull(omsConfItemOptionRelationship.getConfItemId(), "D2-3新增配置项下选项-2-3-03新增配置项下选项关系-冗余配置项ID不能为空", false);
                Assert.isNull(omsConfItemOptionRelationship.getConfItemCode(), "D2-3新增配置项下选项-2-3-03新增配置项下选项关系-配置项标识不能为空", false);
                string_2 = mOmsConfItemOptionRelationshipService.addConfItemOption(omsConfItemOptionRelationship)/*vcase invoke 本地 method 方法调用;*/;


                string_3 = string_2;
            }
        } else {
            //else  6967

            OmsConfItemOptionRelationship omsConfItemOptionRelationship_1 = null;
            if (omsConfOption != null) {
                QueryConfItemOptionDetailReq queryConfItemOptionDetailReq = new QueryConfItemOptionDetailReq();
                queryConfItemOptionDetailReq.setIsArchive("FALSE");//sourceId:126567_1_6968
                if (omsConfOption != null) {
                    queryConfItemOptionDetailReq.setConfOptionId(omsConfOption.getConfOptionId());//SimpleFieldAssign//sourceId:126568_1_6968
                }

                /*2-3-03查询配置项下选项关系[1915]   */
                Assert.isNull(queryConfItemOptionDetailReq.getConfOptionId(), "D2-3新增配置项下选项-2-3-03查询配置项下选项关系-冗余选项ID不能为空", false);
                Assert.isNull(queryConfItemOptionDetailReq.getIsArchive(), "D2-3新增配置项下选项-2-3-03查询配置项下选项关系-是否存档不能为空", false);
                omsConfItemOptionRelationship_1 = mOmsConfItemOptionRelationshipService.queryConfItemOptionDetail(queryConfItemOptionDetailReq)/*vcase invoke 本地 method 方法调用;*/;


            }
            if ((omsConfItemOptionRelationship_1 == null)) {
                //if(2-3-03查询配置项下选项关系.出参 值等于空 )  6969

                List<OmsConfItemOptionRelationship> listOmsConfItemOptionRelationship_2 = new ArrayList<>();
                QueryConfItemOptionListReq queryConfItemOptionListReq_1 = new QueryConfItemOptionListReq();
                queryConfItemOptionListReq_1.setIsArchive("FALSE");//sourceId:999852_1_43780
                if (reqDto != null) {
                    queryConfItemOptionListReq_1.setConfItemId(reqDto.getConfItemId());//SimpleFieldAssign//sourceId:999851_1_43780
                }

                /*2-3-03查选项关系列表[1918]   */
                Assert.isNull(queryConfItemOptionListReq_1.getConfItemId(), "D2-3新增配置项下选项-2-3-03查选项关系列表-冗余配置项ID不能为空", false);
                Assert.isNull(queryConfItemOptionListReq_1.getIsArchive(), "D2-3新增配置项下选项-2-3-03查选项关系列表-是否存档不能为空", false);
                listOmsConfItemOptionRelationship_2 = mOmsConfItemOptionRelationshipService.queryConfItemOptionList(queryConfItemOptionListReq_1)/*vcase invoke 本地 method 方法调用;*/;


//ModelCode: maxOfMultipleNumAddOne
                ObtainMaxOfCollectionsAddOneRespDto maxOfMultipleNumAddOneRes_2 = null;
                ObtainMaxOfCollectionsAddOneReqDto maxOfMultipleNumAddOneReq_1 = new ObtainMaxOfCollectionsAddOneReqDto();
                if (listOmsConfItemOptionRelationship_2 != null && !CollectionUtil.isEmpty(listOmsConfItemOptionRelationship_2) && listOmsConfItemOptionRelationship_2 != null && !CollectionUtil.isEmpty(listOmsConfItemOptionRelationship_2)) {
                    maxOfMultipleNumAddOneReq_1.setMaxOfMultipleNumList(listOmsConfItemOptionRelationship_2.stream().map(item -> item.getOrderNumber())
                            .collect(Collectors.toList()));/*list-to-strings*///sourceId:999842_1_43781
                }

                /*M2-数据集最大值加一[4617]  用于取数据集中最大的数值，在最大数值基础上加一，输出 */

                maxOfMultipleNumAddOneRes_2 = nbConfScheme.obtainMaxOfCollectionsAddOne(maxOfMultipleNumAddOneReq_1);


                String string_4 = null;
                if (omsConfOption != null) {
                    OmsConfItemOptionRelationship omsConfItemOptionRelationship_3 = new OmsConfItemOptionRelationship();
                    if (omsConfOption != null) {
                        omsConfItemOptionRelationship_3.setConfOptionId(omsConfOption.getConfOptionId());//SimpleFieldAssign//sourceId:62624_1_6970
                        omsConfItemOptionRelationship_3.setConfOptionCode(omsConfOption.getConfOptionCode());//SimpleFieldAssign//sourceId:59942_1_6970
                        omsConfItemOptionRelationship_3.setConfOptionName(omsConfOption.getConfOptionName());//SimpleFieldAssign//sourceId:62625_1_6970
                    }
                    if (reqDto != null) {
                        omsConfItemOptionRelationship_3.setConfItemId(reqDto.getConfItemId());//SimpleFieldAssign//sourceId:62623_1_6970
                        omsConfItemOptionRelationship_3.setConfItemCode(reqDto.getConfItemCode());//SimpleFieldAssign//sourceId:59941_1_6970
                    }
                    if (maxOfMultipleNumAddOneRes_2 != null) {
                        omsConfItemOptionRelationship_3.setOrderNumber(maxOfMultipleNumAddOneRes_2.getOrderNumber());//SimpleFieldAssign//sourceId:128777_1_6970
                    }

                    /*2-3-03新增配置项下选项关系[1914]   */
                    Assert.isNull(omsConfItemOptionRelationship_3.getConfOptionId(), "D2-3新增配置项下选项-2-3-03新增配置项下选项关系-冗余选项ID不能为空", false);
                    Assert.isNull(omsConfItemOptionRelationship_3.getConfOptionCode(), "D2-3新增配置项下选项-2-3-03新增配置项下选项关系-选项标识不能为空", false);
                    Assert.isNull(omsConfItemOptionRelationship_3.getConfOptionName(), "D2-3新增配置项下选项-2-3-03新增配置项下选项关系-冗余选项名称不能为空", false);
                    Assert.isNull(omsConfItemOptionRelationship_3.getConfItemId(), "D2-3新增配置项下选项-2-3-03新增配置项下选项关系-冗余配置项ID不能为空", false);
                    Assert.isNull(omsConfItemOptionRelationship_3.getConfItemCode(), "D2-3新增配置项下选项-2-3-03新增配置项下选项关系-配置项标识不能为空", false);
                    string_4 = mOmsConfItemOptionRelationshipService.addConfItemOption(omsConfItemOptionRelationship_3)/*vcase invoke 本地 method 方法调用;*/;


                    string_3 = string_4;
                }
            } else {
                //else  6971

//异常结束 6972
                throw new BizException("C00116", "对不起！已存在~！", false);
            }
        }
        AddConfItemConfOptionRespDto retData = new AddConfItemConfOptionRespDto();
        if (string_1 != null) {
            retData.setConfOptionId(string_1);//SimpleFieldAssign//sourceId:59964_1
        }
        if (string_3 != null) {
            retData.setConfOptionRshipId(string_3);//SimpleFieldAssign//sourceId:59965_1
        }


        return retData;
    }

    /**
     * D2-3查询方案匹配单一结果转答案(公共)（跨服务）[3101]
     * gen by moon at 4/20/2025, 4:08:15 PM
     */
    @Trace(operationName = "D2-3查询方案匹配单一结果转答案(公共)（跨服务）")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QuerySchemeMatchSingleResultToAnswerDetailComRespDto querySchemeMatchSingleResultToAnswerDetailCom(QuerySchemeMatchSingleResultToAnswerDetailComReqDto reqDto) {


        SchemeSoleConfItemTransitionConfItemToAnswerRespDto columnToRowRes_1 = null;
//步骤0: 2-3-07查询方案下选项配置结果列表 - queryConfItemResultList
        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult = new ArrayList<>();
        QueryConfItemResultListReq queryConfItemResultListReq = new QueryConfItemResultListReq();
        queryConfItemResultListReq.setIsSingleResult("TRUE");//sourceId:106329_1
        queryConfItemResultListReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:106314_1
        if (reqDto != null) {
            queryConfItemResultListReq.setResultAspObjId(reqDto.getResultAspObjId());//SimpleFieldAssign//sourceId:129674_1
            queryConfItemResultListReq.setResultAspObjType(reqDto.getResultAspObjType());//SimpleFieldAssign//sourceId:129675_1
            queryConfItemResultListReq.setConfSchemeId(reqDto.getConfSchemeId());//SimpleFieldAssign//sourceId:1124055_1
            queryConfItemResultListReq.setConfSchemeCode(reqDto.getConfSchemeCode());//SimpleFieldAssign//sourceId:106312_1
            queryConfItemResultListReq.setConfItemClassCode(reqDto.getConfItemClassCode());//SimpleFieldAssign//sourceId:106324_1
            queryConfItemResultListReq.setConfItemCode(reqDto.getConfItemCode());//SimpleFieldAssign//sourceId:106382_1
            queryConfItemResultListReq.setIsPlatData(reqDto.getIsPlatData());//SimpleFieldAssign//sourceId:306709_1
            queryConfItemResultListReq.setIsInitialScheme(reqDto.getIsInitialScheme());//SimpleFieldAssign//sourceId:106326_1
        }

        /*2-3-07查询方案下选项配置结果列表[1940]   */
        Assert.isNull(queryConfItemResultListReq.getIsSingleResult(), "D2-3查询方案匹配单一结果转答案(公共)（跨服务）-2-3-07查询方案下选项配置结果列表-是否单一答案不能为空", false);
        Assert.isNull(queryConfItemResultListReq.getSubjectLifeCycle(), "D2-3查询方案匹配单一结果转答案(公共)（跨服务）-2-3-07查询方案下选项配置结果列表-主体生命周期不能为空", false);
        listOmsConfSchemeOptionResult = mOmsConfSchemeOptionResultService.queryConfItemResultList(queryConfItemResultListReq)/*vcase invoke 本地 method 方法调用;*/;
        Assert.isTrue(listOmsConfSchemeOptionResult == null || CollectionUtil.isEmpty(listOmsConfSchemeOptionResult) || listOmsConfSchemeOptionResult == null || CollectionUtil.isEmpty(listOmsConfSchemeOptionResult) || listOmsConfSchemeOptionResult.size() == 0, "找不到数据，系统异常", false);


//步骤1: M2转换配置项转答案(特殊方法） - transitionConfItemToAnswer
        //ModelCode: columnToRow
        SchemeSoleConfItemTransitionConfItemToAnswerRespDto columnToRowRes = null;
        if (listOmsConfSchemeOptionResult != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult) && listOmsConfSchemeOptionResult.size() > 0) {
            SchemeSoleConfItemTransitionConfItemToAnswerReqDto columnToRowReq = new SchemeSoleConfItemTransitionConfItemToAnswerReqDto();
            if (listOmsConfSchemeOptionResult != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult) && listOmsConfSchemeOptionResult != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult)) {
                columnToRowReq.setConfSchemeItemResultList(listOmsConfSchemeOptionResult.stream().map(item -> {
                    ConfSchemeItemResultDto elm = BeanUtil.toBean(item, ConfSchemeItemResultDto.class);
                    //elm.setConfSchemeId();//COLUMN_TO_ROW_CODE  TODO ruizhe dong

                    return elm;
                }).collect(Collectors.toList()));//objList-to-objLists//sourceId:106330_1
            }

            /*M2配置项转答案[3068]  将多列数据转成一行数据 */

            columnToRowRes = nbConfScheme.schemeSoleConfItemTransitionConfItemToAnswer(columnToRowReq);
            Assert.isTrue(columnToRowRes == null || columnToRowRes.getConfSchemeId() == null, "找不到数据，系统异常", false);

            columnToRowRes_1 = columnToRowRes;
        }

        QuerySchemeMatchSingleResultToAnswerDetailComRespDto retData = new QuerySchemeMatchSingleResultToAnswerDetailComRespDto();
        if (columnToRowRes_1 != null) {
            retData.setConfSchemeId(columnToRowRes_1.getConfSchemeId());//SimpleFieldAssign//sourceId:106388_1
            retData.setEvaluationTemplateTypeCode(columnToRowRes_1.getEvaluationTemplateTypeCode());//SimpleFieldAssign//sourceId:106396_1
            retData.setTargetPlanTempSubtype(columnToRowRes_1.getTargetPlanTempSubtype());//SimpleFieldAssign//sourceId:106397_1
            retData.setPlanningType(columnToRowRes_1.getPlanningType());//SimpleFieldAssign//sourceId:106398_1
            retData.setUseObjectTypeCode(columnToRowRes_1.getUseObjectTypeCode());//SimpleFieldAssign//sourceId:106462_1
            retData.setIsOpenPlanSchemeClass(columnToRowRes_1.getIsOpenPlanSchemeClass());//SimpleFieldAssign//sourceId:106418_1
            retData.setBizSceneCode(columnToRowRes_1.getBizSceneCode());//SimpleFieldAssign//sourceId:106441_1
            retData.setEvaluationSubjectTypeCode(columnToRowRes_1.getEvaluationSubjectTypeCode());//SimpleFieldAssign//sourceId:106442_1
            retData.setIsOkrPlanScene(columnToRowRes_1.getIsOkrPlanScene());//SimpleFieldAssign//sourceId:106443_1
            retData.setFatherCycleType(columnToRowRes_1.getFatherCycleType());//SimpleFieldAssign//sourceId:106472_1
            retData.setCycleType(columnToRowRes_1.getCycleType());//SimpleFieldAssign//sourceId:106473_1
            retData.setFatherSubcycleQuantity(columnToRowRes_1.getFatherSubcycleQuantity());//SimpleFieldAssign//sourceId:106474_1
            retData.setMidCycleType(columnToRowRes_1.getMidCycleType());//SimpleFieldAssign//sourceId:106475_1
            retData.setMidSubcycleQuantity(columnToRowRes_1.getMidSubcycleQuantity());//SimpleFieldAssign//sourceId:106476_1
            retData.setSubcycleType(columnToRowRes_1.getSubcycleType());//SimpleFieldAssign//sourceId:106477_1
            retData.setMonocycleCycleType(columnToRowRes_1.getMonocycleCycleType());//SimpleFieldAssign//sourceId:106478_1
            retData.setOpenMidCycle(columnToRowRes_1.getOpenMidCycle());//SimpleFieldAssign//sourceId:106479_1
            retData.setCycleMode(columnToRowRes_1.getCycleMode());//SimpleFieldAssign//sourceId:106480_1
            retData.setIsOpenEvaWork(columnToRowRes_1.getIsOpenEvaWork());//SimpleFieldAssign//sourceId:106489_1
            retData.setFiveYear(columnToRowRes_1.getFiveYear());//SimpleFieldAssign//sourceId:106490_1
            retData.setThreeYear(columnToRowRes_1.getThreeYear());//SimpleFieldAssign//sourceId:106491_1
            retData.setYear(columnToRowRes_1.getYear());//SimpleFieldAssign//sourceId:106492_1
            retData.setHalfYear(columnToRowRes_1.getHalfYear());//SimpleFieldAssign//sourceId:106493_1
            retData.setQuarter(columnToRowRes_1.getQuarter());//SimpleFieldAssign//sourceId:106494_1
            retData.setDoubleMonths(columnToRowRes_1.getDoubleMonths());//SimpleFieldAssign//sourceId:106495_1
            retData.setMonth(columnToRowRes_1.getMonth());//SimpleFieldAssign//sourceId:106496_1
            retData.setOpenCreateBizAppCode(columnToRowRes_1.getOpenCreateBizAppCode());//SimpleFieldAssign//sourceId:106497_1
            retData.setCycleSystemCode(columnToRowRes_1.getCycleSystemCode());//SimpleFieldAssign//sourceId:106498_1
            retData.setIsOpenFillWork(columnToRowRes_1.getIsOpenFillWork());//SimpleFieldAssign//sourceId:106499_1
            retData.setPlanSchemeClass(columnToRowRes_1.getPlanSchemeClass());//SimpleFieldAssign//sourceId:106500_1
            retData.setTimeCountReferTime(columnToRowRes_1.getTimeCountReferTime());//SimpleFieldAssign//sourceId:106501_1
            retData.setTimeRulesSetLevel(columnToRowRes_1.getTimeRulesSetLevel());//SimpleFieldAssign//sourceId:106502_1
            retData.setIsCustomTimeRules(columnToRowRes_1.getIsCustomTimeRules());//SimpleFieldAssign//sourceId:106540_1
            retData.setFillTimeRulesCode(columnToRowRes_1.getFillTimeRulesCode());//SimpleFieldAssign//sourceId:106503_1
            retData.setEvaTimeRulesCode(columnToRowRes_1.getEvaTimeRulesCode());//SimpleFieldAssign//sourceId:106504_1
            retData.setOrgStructureModel(columnToRowRes_1.getOrgStructureModel());//SimpleFieldAssign//sourceId:106505_1
            retData.setIsIntergration(columnToRowRes_1.getIsIntergration());//SimpleFieldAssign//sourceId:106506_1
            retData.setIsAllowImport(columnToRowRes_1.getIsAllowImport());//SimpleFieldAssign//sourceId:106507_1
            retData.setIsOpenApprovalProcess(columnToRowRes_1.getIsOpenApprovalProcess());//SimpleFieldAssign//sourceId:106508_1
            retData.setOpenManyOrg(columnToRowRes_1.getOpenManyOrg());//SimpleFieldAssign//sourceId:106509_1
            retData.setHeadCopywriter(columnToRowRes_1.getHeadCopywriter());//SimpleFieldAssign//sourceId:106510_1
            retData.setEvaThemeSketch(columnToRowRes_1.getEvaThemeSketch());//SimpleFieldAssign//sourceId:106511_1
            retData.setButtonCopywriter(columnToRowRes_1.getButtonCopywriter());//SimpleFieldAssign//sourceId:106512_1
            retData.setMediaContentAddress(columnToRowRes_1.getMediaContentAddress());//SimpleFieldAssign//sourceId:106513_1
            retData.setIsOpenSmsService(columnToRowRes_1.getIsOpenSmsService());//SimpleFieldAssign//sourceId:106514_1
            retData.setIsUsePlatformSmsService(columnToRowRes_1.getIsUsePlatformSmsService());//SimpleFieldAssign//sourceId:106515_1
            retData.setAccessKeyId(columnToRowRes_1.getAccessKeyId());//SimpleFieldAssign//sourceId:106516_1
            retData.setAccessKeySecret(columnToRowRes_1.getAccessKeySecret());//SimpleFieldAssign//sourceId:106517_1
            retData.setEvaThemeHostTypeCode(columnToRowRes_1.getEvaThemeHostTypeCode());//SimpleFieldAssign//sourceId:106518_1
            retData.setOkrType(columnToRowRes_1.getOkrType());//SimpleFieldAssign//sourceId:106519_1
            retData.setIsOpenWorkGroup(columnToRowRes_1.getIsOpenWorkGroup());//SimpleFieldAssign//sourceId:106520_1
            retData.setWorkGroupName(columnToRowRes_1.getWorkGroupName());//SimpleFieldAssign//sourceId:106521_1
            retData.setIsOpenCourseSubjectiveScore(columnToRowRes_1.getIsOpenCourseSubjectiveScore());//SimpleFieldAssign//sourceId:117446_1
            retData.setDockCalculateType(columnToRowRes_1.getDockCalculateType());//SimpleFieldAssign//sourceId:117732_1
            retData.setIsOpenBudgetReport(columnToRowRes_1.getIsOpenBudgetReport());//SimpleFieldAssign//sourceId:129606_1
            retData.setBudgetHierarchy(columnToRowRes_1.getBudgetHierarchy());//SimpleFieldAssign//sourceId:129607_1
            retData.setIsOpenBudget(columnToRowRes_1.getIsOpenBudget());//SimpleFieldAssign//sourceId:129608_1
            retData.setIsOpenCustomReport(columnToRowRes_1.getIsOpenCustomReport());//SimpleFieldAssign//sourceId:131488_1
            retData.setIrregularCycleType(columnToRowRes_1.getIrregularCycleType());//SimpleFieldAssign//sourceId:136340_1
            retData.setReportType(columnToRowRes_1.getReportType());//SimpleFieldAssign//sourceId:117474_1
            retData.setFillTaskExtendDays(columnToRowRes_1.getFillTaskExtendDays());//SimpleFieldAssign//sourceId:136341_1
            retData.setCreateFillTaskAdvanceDays(columnToRowRes_1.getCreateFillTaskAdvanceDays());//SimpleFieldAssign//sourceId:136342_1
            retData.setCreateTaskPlanTime(columnToRowRes_1.getCreateTaskPlanTime());//SimpleFieldAssign//sourceId:136343_1
            retData.setIsOpenCreateTaskPlanTime(columnToRowRes_1.getIsOpenCreateTaskPlanTime());//SimpleFieldAssign//sourceId:137513_1
            retData.setIsShowTargetTimeDeviationTips(columnToRowRes_1.getIsShowTargetTimeDeviationTips());//SimpleFieldAssign//sourceId:136344_1
            retData.setFillTaskIsOpenReplenishReport(columnToRowRes_1.getFillTaskIsOpenReplenishReport());//SimpleFieldAssign//sourceId:136345_1
            retData.setConstIsOpenAtuoReport(columnToRowRes_1.getConstIsOpenAtuoReport());//SimpleFieldAssign//sourceId:136346_1
            retData.setTargetValueCountType(columnToRowRes_1.getTargetValueCountType());//SimpleFieldAssign//sourceId:161729_1
            retData.setLogicalOperator(columnToRowRes_1.getLogicalOperator());//SimpleFieldAssign//sourceId:161734_1
            retData.setConstTaskIsOpenReport(columnToRowRes_1.getConstTaskIsOpenReport());//SimpleFieldAssign//sourceId:166140_1
            retData.setIsSubjectiveScoring(columnToRowRes_1.getIsSubjectiveScoring());//SimpleFieldAssign//sourceId:414170_1
            retData.setIsObjectiveQuantization(columnToRowRes_1.getIsObjectiveQuantization());//SimpleFieldAssign//sourceId:536698_1
            retData.setSchemeDataPara(columnToRowRes_1.getSchemeDataPara());//SimpleFieldAssign//sourceId:637760_1
            retData.setActualScoreFormula(columnToRowRes_1.getActualScoreFormula());//SimpleFieldAssign//sourceId:638545_1
            retData.setActualScoreIsOpenLocalLevelScore(columnToRowRes_1.getActualScoreIsOpenLocalLevelScore());//SimpleFieldAssign//sourceId:638546_1
            retData.setIsOpenSubReportLimit(columnToRowRes_1.getIsOpenSubReportLimit());//SimpleFieldAssign//sourceId:876487_1
            retData.setSubjectiveRatingTotalValue(columnToRowRes_1.getSubjectiveRatingTotalValue());//SimpleFieldAssign//sourceId:904717_1
            retData.setScoreDecimalPoint(columnToRowRes_1.getScoreDecimalPoint());//SimpleFieldAssign//sourceId:904718_1
            retData.setDegreeDecimalPoint(columnToRowRes_1.getDegreeDecimalPoint());//SimpleFieldAssign//sourceId:904719_1
            retData.setProgressDecimalPoint(columnToRowRes_1.getProgressDecimalPoint());//SimpleFieldAssign//sourceId:904720_1
            retData.setDecimalPointRules(columnToRowRes_1.getDecimalPointRules());//SimpleFieldAssign//sourceId:904721_1
            retData.setDecimalDigitsLastRules(columnToRowRes_1.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:904722_1
            retData.setActualValueUnit(columnToRowRes_1.getActualValueUnit());//SimpleFieldAssign//sourceId:904723_1
            retData.setCountActualValueUnit(columnToRowRes_1.getCountActualValueUnit());//SimpleFieldAssign//sourceId:904724_1
            retData.setChangeFromLastTargetUnit(columnToRowRes_1.getChangeFromLastTargetUnit());//SimpleFieldAssign//sourceId:904725_1
            retData.setCountChangeFromLastTargetUnit(columnToRowRes_1.getCountChangeFromLastTargetUnit());//SimpleFieldAssign//sourceId:904726_1
            retData.setFromLastTargetLiftRatioUnit(columnToRowRes_1.getFromLastTargetLiftRatioUnit());//SimpleFieldAssign//sourceId:904727_1
            retData.setCountFromLastTargetLiftRatioUnit(columnToRowRes_1.getCountFromLastTargetLiftRatioUnit());//SimpleFieldAssign//sourceId:904728_1
            retData.setProgressValueUnit(columnToRowRes_1.getProgressValueUnit());//SimpleFieldAssign//sourceId:904729_1
            retData.setCountProgressValueUnit(columnToRowRes_1.getCountProgressValueUnit());//SimpleFieldAssign//sourceId:904730_1
            retData.setFromLastProgressValueUnit(columnToRowRes_1.getFromLastProgressValueUnit());//SimpleFieldAssign//sourceId:904731_1
            retData.setCountFromLastProgressValueUnit(columnToRowRes_1.getCountFromLastProgressValueUnit());//SimpleFieldAssign//sourceId:904732_1
            retData.setProgressFromLastRatioUnit(columnToRowRes_1.getProgressFromLastRatioUnit());//SimpleFieldAssign//sourceId:904733_1
            retData.setCountProgressFromLastRatioUnit(columnToRowRes_1.getCountProgressFromLastRatioUnit());//SimpleFieldAssign//sourceId:904734_1
            retData.setReachUnit(columnToRowRes_1.getReachUnit());//SimpleFieldAssign//sourceId:904735_1
            retData.setFromLastReachUnit(columnToRowRes_1.getFromLastReachUnit());//SimpleFieldAssign//sourceId:904736_1
            retData.setActualFromLastTimeRatioUnit(columnToRowRes_1.getActualFromLastTimeRatioUnit());//SimpleFieldAssign//sourceId:904737_1
            retData.setFundsReceivedUnit(columnToRowRes_1.getFundsReceivedUnit());//SimpleFieldAssign//sourceId:904738_1
            retData.setFundsReceivedFromLastRatioUnit(columnToRowRes_1.getFundsReceivedFromLastRatioUnit());//SimpleFieldAssign//sourceId:904739_1
            retData.setCumulativeFundsReceivedUnit(columnToRowRes_1.getCumulativeFundsReceivedUnit());//SimpleFieldAssign//sourceId:904740_1
            retData.setFundsExpendUnit(columnToRowRes_1.getFundsExpendUnit());//SimpleFieldAssign//sourceId:904741_1
            retData.setFundsExpendFromLastUnit(columnToRowRes_1.getFundsExpendFromLastUnit());//SimpleFieldAssign//sourceId:904742_1
            retData.setCumulativeFundsExpendUnit(columnToRowRes_1.getCumulativeFundsExpendUnit());//SimpleFieldAssign//sourceId:904743_1
            retData.setBudgetAmountUnit(columnToRowRes_1.getBudgetAmountUnit());//SimpleFieldAssign//sourceId:904744_1
            retData.setFundsReceivedBalanceUnit(columnToRowRes_1.getFundsReceivedBalanceUnit());//SimpleFieldAssign//sourceId:904745_1
            retData.setRealTimeScoreUnit(columnToRowRes_1.getRealTimeScoreUnit());//SimpleFieldAssign//sourceId:904746_1
            retData.setSubjectiveMarkUnit(columnToRowRes_1.getSubjectiveMarkUnit());//SimpleFieldAssign//sourceId:904747_1
            retData.setSubjectiveScoreUnit(columnToRowRes_1.getSubjectiveScoreUnit());//SimpleFieldAssign//sourceId:904748_1
            retData.setObjectiveScoreUnit(columnToRowRes_1.getObjectiveScoreUnit());//SimpleFieldAssign//sourceId:904749_1
            retData.setProcessScoreUnit(columnToRowRes_1.getProcessScoreUnit());//SimpleFieldAssign//sourceId:904750_1
            retData.setResultScoreUnit(columnToRowRes_1.getResultScoreUnit());//SimpleFieldAssign//sourceId:904751_1
            retData.setGiveLikesUnit(columnToRowRes_1.getGiveLikesUnit());//SimpleFieldAssign//sourceId:904752_1
            retData.setAccountUnit(columnToRowRes_1.getAccountUnit());//SimpleFieldAssign//sourceId:904753_1
            retData.setReportManagementModel(columnToRowRes_1.getReportManagementModel());//SimpleFieldAssign//sourceId:904754_1
            retData.setNoPracticalValueObjIsProgReport(columnToRowRes_1.getNoPracticalValueObjIsProgReport());//SimpleFieldAssign//sourceId:904755_1
            retData.setIsOpenAudit(columnToRowRes_1.getIsOpenAudit());//SimpleFieldAssign//sourceId:904756_1
            retData.setSubjectiveRatingTotalValueUnit(columnToRowRes_1.getSubjectiveRatingTotalValueUnit());//SimpleFieldAssign//sourceId:904757_1
            retData.setSubjectiveScorePoint(columnToRowRes_1.getSubjectiveScorePoint());//SimpleFieldAssign//sourceId:904758_1
            retData.setLastCycleType(columnToRowRes_1.getLastCycleType());//SimpleFieldAssign//sourceId:904759_1
            retData.setSecondLastCycleType(columnToRowRes_1.getSecondLastCycleType());//SimpleFieldAssign//sourceId:1572505_1
            retData.setNumGroActualUfuncType(columnToRowRes_1.getNumGroActualUfuncType());//SimpleFieldAssign//sourceId:904760_1
            retData.setNumGroSuperiorTargetUfuncType(columnToRowRes_1.getNumGroSuperiorTargetUfuncType());//SimpleFieldAssign//sourceId:904761_1
            retData.setPerGroActualUfuncType(columnToRowRes_1.getPerGroActualUfuncType());//SimpleFieldAssign//sourceId:904762_1
            retData.setPerGroSuperiorTargetUfuncType(columnToRowRes_1.getPerGroSuperiorTargetUfuncType());//SimpleFieldAssign//sourceId:904763_1
            retData.setPerDecActualUfuncType(columnToRowRes_1.getPerDecActualUfuncType());//SimpleFieldAssign//sourceId:904764_1
            retData.setPerDecSuperiorTargetUfuncType(columnToRowRes_1.getPerDecSuperiorTargetUfuncType());//SimpleFieldAssign//sourceId:904765_1
            retData.setRatioGroActualUfuncType(columnToRowRes_1.getRatioGroActualUfuncType());//SimpleFieldAssign//sourceId:904766_1
            retData.setRatioGroSuperiorTargetUfuncType(columnToRowRes_1.getRatioGroSuperiorTargetUfuncType());//SimpleFieldAssign//sourceId:904767_1
            retData.setRatioDecActualUfuncType(columnToRowRes_1.getRatioDecActualUfuncType());//SimpleFieldAssign//sourceId:904768_1
            retData.setRatioDecSuperiorTargetUfuncType(columnToRowRes_1.getRatioDecSuperiorTargetUfuncType());//SimpleFieldAssign//sourceId:904769_1
            retData.setProgressActualUfuncType(columnToRowRes_1.getProgressActualUfuncType());//SimpleFieldAssign//sourceId:904770_1
            retData.setProgressSuperiorTargetUfuncType(columnToRowRes_1.getProgressSuperiorTargetUfuncType());//SimpleFieldAssign//sourceId:904771_1
            retData.setNumDecActualUfuncType(columnToRowRes_1.getNumDecActualUfuncType());//SimpleFieldAssign//sourceId:904772_1
            retData.setNumDecSuperiorTargetUfuncType(columnToRowRes_1.getNumDecSuperiorTargetUfuncType());//SimpleFieldAssign//sourceId:904773_1
            retData.setSubQuaActualUfuncType(columnToRowRes_1.getSubQuaActualUfuncType());//SimpleFieldAssign//sourceId:904774_1
            retData.setSubQuaSuperiorTargetUfuncType(columnToRowRes_1.getSubQuaSuperiorTargetUfuncType());//SimpleFieldAssign//sourceId:904775_1
            retData.setCurSubjectiveScoreWeight(columnToRowRes_1.getCurSubjectiveScoreWeight());//SimpleFieldAssign//sourceId:904776_1
            retData.setProcessSubjectiveScoreWeight(columnToRowRes_1.getProcessSubjectiveScoreWeight());//SimpleFieldAssign//sourceId:904777_1
            retData.setUseObjectTypeCode(columnToRowRes_1.getUseObjectTypeCode());//SimpleFieldAssign//sourceId:904778_1
            retData.setTargetDivRule(columnToRowRes_1.getTargetDivRule());//SimpleFieldAssign//sourceId:904779_1
            retData.setTargetFullTotalValue(columnToRowRes_1.getTargetFullTotalValue());//SimpleFieldAssign//sourceId:904780_1
            retData.setTargetTaskFullTotalValue(columnToRowRes_1.getTargetTaskFullTotalValue());//SimpleFieldAssign//sourceId:904781_1
            retData.setOkrFullTotalValue(columnToRowRes_1.getOkrFullTotalValue());//SimpleFieldAssign//sourceId:904782_1
            retData.setTargetFullMarkUnit(columnToRowRes_1.getTargetFullMarkUnit());//SimpleFieldAssign//sourceId:904783_1
            retData.setWeightDecimalPoint(columnToRowRes_1.getWeightDecimalPoint());//SimpleFieldAssign//sourceId:904784_1
            retData.setWeightPoint(columnToRowRes_1.getWeightPoint());//SimpleFieldAssign//sourceId:904785_1
            retData.setIncreasesDropDecimalPoint(columnToRowRes_1.getIncreasesDropDecimalPoint());//SimpleFieldAssign//sourceId:904786_1
            retData.setIsOpenCreateTaskPlanTime(columnToRowRes_1.getIsOpenCreateTaskPlanTime());//SimpleFieldAssign//sourceId:904787_1
            retData.setActualUfuncType(columnToRowRes_1.getActualUfuncType());//SimpleFieldAssign//sourceId:904788_1
            retData.setIsOpenMidProcess(columnToRowRes_1.getIsOpenMidProcess());//SimpleFieldAssign//sourceId:904789_1
            retData.setSubjectiveScoreWeight(columnToRowRes_1.getSubjectiveScoreWeight() != null ? Double.valueOf(columnToRowRes_1.getSubjectiveScoreWeight()) : null);//SimpleFieldAssign//sourceId:904790_1
            retData.setObjectiveScoreWeight(columnToRowRes_1.getObjectiveScoreWeight() != null ? Double.valueOf(columnToRowRes_1.getObjectiveScoreWeight()) : null);//SimpleFieldAssign//sourceId:904791_1
            retData.setProcessReportScoreProMidWeight(columnToRowRes_1.getProcessReportScoreProMidWeight());//SimpleFieldAssign//sourceId:904792_1
            retData.setProcessReportScoreAvgWeight(columnToRowRes_1.getProcessReportScoreAvgWeight());//SimpleFieldAssign//sourceId:904793_1
            retData.setProcessReportScoreKrWeight(columnToRowRes_1.getProcessReportScoreKrWeight());//SimpleFieldAssign//sourceId:904794_1
            retData.setReportScoreProcessWeight(columnToRowRes_1.getReportScoreProcessWeight());//SimpleFieldAssign//sourceId:904795_1
            retData.setReportScoreSubAndObjWeight(columnToRowRes_1.getReportScoreSubAndObjWeight());//SimpleFieldAssign//sourceId:904796_1
            retData.setActualScoreLocalLevelWeight(columnToRowRes_1.getActualScoreLocalLevelWeight());//SimpleFieldAssign//sourceId:904797_1
            retData.setActualScoreLowerLevelWeight(columnToRowRes_1.getActualScoreLowerLevelWeight());//SimpleFieldAssign//sourceId:904798_1
            retData.setProcessReportScoreMidWeight(columnToRowRes_1.getProcessReportScoreMidWeight());//SimpleFieldAssign//sourceId:904799_1
            retData.setActualValueDecimalPoint(columnToRowRes_1.getActualValueDecimalPoint());//SimpleFieldAssign//sourceId:904800_1
            retData.setReportMgtModelMenus(columnToRowRes_1.getReportMgtModelMenus());//SimpleFieldAssign//sourceId:904801_1
//retData.setOWeight(columnToRowRes_1.getOWeight()!=null?Double.valueOf(columnToRowRes_1.getOWeight()):null);//SimpleFieldAssign//sourceId:904802_1
            retData.setOpenOrCloseMidProcess(columnToRowRes_1.getOpenOrCloseMidProcess());//SimpleFieldAssign//sourceId:904803_1
            retData.setMidOfProcessCycleType(columnToRowRes_1.getMidOfProcessCycleType());//SimpleFieldAssign//sourceId:905310_1
            retData.setCountProObWeight(columnToRowRes_1.getCountProObWeight());//SimpleFieldAssign//sourceId:985707_1
            retData.setCountProKrWeight(columnToRowRes_1.getCountProKrWeight());//SimpleFieldAssign//sourceId:985708_1
            retData.setSubjectiveFullMarkUnit(columnToRowRes_1.getSubjectiveFullMarkUnit());//SimpleFieldAssign//sourceId:1078347_1
            retData.setIsOpenCommunicate(columnToRowRes_1.getIsOpenCommunicate());//SimpleFieldAssign//sourceId:1118349_1
            retData.setThirdQaSystem(columnToRowRes_1.getThirdQaSystem());//SimpleFieldAssign//sourceId:1118350_1
            retData.setDeptLeaderStrategy(columnToRowRes_1.getDeptLeaderStrategy());//SimpleFieldAssign//sourceId:1124060_1
            retData.setIsOpenCaucusController(columnToRowRes_1.getIsOpenCaucusController());//SimpleFieldAssign//sourceId:1124067_1
            retData.setIsShowDirector(columnToRowRes_1.getIsShowDirector());//SimpleFieldAssign//sourceId:1182929_1
            retData.setIsUseWebsocket(columnToRowRes_1.getIsUseWebsocket());//SimpleFieldAssign//sourceId:1192746_1
            retData.setIsEnableDeptTargetTaskBookModel(columnToRowRes_1.getIsEnableDeptTargetTaskBookModel());//SimpleFieldAssign//sourceId:1201424_1
            retData.setIsProgressTemp(columnToRowRes_1.getIsProgressTemp());//SimpleFieldAssign//sourceId:1213373_1
            retData.setTargetDivTierSet(columnToRowRes_1.getTargetDivTierSet());//SimpleFieldAssign//sourceId:1213989_1
            retData.setWeightSetWay(columnToRowRes_1.getWeightSetWay());//SimpleFieldAssign//sourceId:1214389_1
            retData.setFrameNavMode(columnToRowRes_1.getFrameNavMode());//SimpleFieldAssign//sourceId:1282179_1
            retData.setIsOpenOkr(columnToRowRes_1.getIsOpenOkr());//SimpleFieldAssign//sourceId:1284021_1
            retData.setWorkTaskRelevancyObjectTier(columnToRowRes_1.getWorkTaskRelevancyObjectTier());//SimpleFieldAssign//sourceId:1284022_1
            retData.setIsOpenTaskMgtApp(columnToRowRes_1.getIsOpenTaskMgtApp());//SimpleFieldAssign//sourceId:1343460_1
            retData.setIsEnableOffcialDocApp(columnToRowRes_1.getIsEnableOffcialDocApp());//SimpleFieldAssign//sourceId:1396360_1
            retData.setIsOpenUcdWorkTask(columnToRowRes_1.getIsOpenUcdWorkTask());//SimpleFieldAssign//sourceId:1396361_1
            retData.setIsOpenQuestion(columnToRowRes_1.getIsOpenQuestion());//SimpleFieldAssign//sourceId:1396362_1
            retData.setIsOpenMidReportUpward(columnToRowRes_1.getIsOpenMidReportUpward());//SimpleFieldAssign//sourceId:1996919_1
            retData.setIsMandateReportUpward(columnToRowRes_1.getIsMandateReportUpward());//SimpleFieldAssign//sourceId:1436256_1
            retData.setIsOpenIdeas(columnToRowRes_1.getIsOpenIdeas());//SimpleFieldAssign//sourceId:1494111_1
            retData.setIsOpenWorkCircle(columnToRowRes_1.getIsOpenWorkCircle());//SimpleFieldAssign//sourceId:1494209_1
            retData.setIsDisplayLatestJoinedEmployees(columnToRowRes_1.getIsDisplayLatestJoinedEmployees());//SimpleFieldAssign//sourceId:1560390_1
            retData.setOpenTargetOrTaskManageApp(columnToRowRes_1.getOpenTargetOrTaskManageApp());//SimpleFieldAssign//sourceId:1719419_1
            retData.setReportProgressEnterMethod(columnToRowRes_1.getReportProgressEnterMethod());//SimpleFieldAssign//sourceId:1743869_1
            retData.setConstTaskIsOpenReport(columnToRowRes_1.getConstTaskIsOpenReport());//SimpleFieldAssign//sourceId:1783175_1
            retData.setObjectiveActualScoreIsOpenLocalLevelScore(columnToRowRes_1.getObjectiveActualScoreIsOpenLocalLevelScore());//SimpleFieldAssign//sourceId:1783210_1
            retData.setProcessMidCycleType(columnToRowRes_1.getProcessMidCycleType());//SimpleFieldAssign//sourceId:1783445_1
            retData.setSubjectiveFullMarkUnit(columnToRowRes_1.getSubjectiveFullMarkUnit());//SimpleFieldAssign//sourceId:1783460_1
            retData.setCalcAndRefreshDataType(columnToRowRes_1.getCalcAndRefreshDataType());//SimpleFieldAssign//sourceId:1857201_1
            retData.setApproveCalcScene(columnToRowRes_1.getApproveCalcScene());//SimpleFieldAssign//sourceId:1857202_1
            retData.setIsOpenBatchIssueWorkTask(columnToRowRes_1.getIsOpenBatchIssueWorkTask());//SimpleFieldAssign//sourceId:1864064_1
            retData.setTopDisplayCateOrDeptRank(columnToRowRes_1.getTopDisplayCateOrDeptRank());//SimpleFieldAssign//sourceId:1882596_1
            retData.setIsOpenSymbolicAchievements(columnToRowRes_1.getIsOpenSymbolicAchievements());//SimpleFieldAssign//sourceId:1938918_1
            retData.setProcessIsOpenAchiveDocking(columnToRowRes_1.getProcessIsOpenAchiveDocking());//SimpleFieldAssign//sourceId:1938919_1
            retData.setAchiveLibraryCommercialPara(columnToRowRes_1.getAchiveLibraryCommercialPara());//SimpleFieldAssign//sourceId:1944011_1
            retData.setReportAchieveEnter(columnToRowRes_1.getReportAchieveEnter());//SimpleFieldAssign//sourceId:1944016_1
            retData.setAchieveAutoCert(columnToRowRes_1.getAchieveAutoCert());//SimpleFieldAssign//sourceId:1952465_1
            retData.setWorkCycleIsOpenReport(columnToRowRes_1.getWorkCycleIsOpenReport());//SimpleFieldAssign//sourceId:1999704_1
            retData.setIsOpenMySubScence(columnToRowRes_1.getIsOpenMySubScence());//SimpleFieldAssign//sourceId:2016383_1
            retData.setIsOpenPreview(columnToRowRes_1.getIsOpenPreview());//SimpleFieldAssign//sourceId:2029969_1
            retData.setBusDiskParamsType(columnToRowRes_1.getBusDiskParamsType());//SimpleFieldAssign//sourceId:2029970_1
            retData.setPrivateDiskParamsType(columnToRowRes_1.getPrivateDiskParamsType());//SimpleFieldAssign//sourceId:2029971_1
            retData.setUploadType(columnToRowRes_1.getUploadType());//SimpleFieldAssign//sourceId:2034463_1
            retData.setIsOpenSmartIntro(columnToRowRes_1.getIsOpenSmartIntro());//SimpleFieldAssign//sourceId:2037034_1
            retData.setIsOpenFrontSmartIntro(columnToRowRes_1.getIsOpenFrontSmartIntro());//SimpleFieldAssign//sourceId:2037035_1
        }


        return retData;
    }

    /**
     * D2-3修改分组下配置项扩展信息[3213]
     * gen by moon at 8/10/2022, 2:34:00 PM
     */
    @Trace(operationName = "D2-3修改分组下配置项扩展信息")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public UpdateConfClassItEmextendInfoRespDto updateConfClassItEmextendInfo(UpdateConfClassItEmextendInfoReqDto reqDto) {


        //步骤0: 2-3-06修改分组下配置项 - updateConfClassItem
        boolean bOOLEAN;
        OmsConfClassItem omsConfClassItem = new OmsConfClassItem();
        if (reqDto != null) {
            omsConfClassItem.setClassConfItemId(reqDto.getClassConfItemId());//sourceId:121069_1
            omsConfClassItem.setExtensionField1(reqDto.getExtensionField1());//sourceId:121070_1
            omsConfClassItem.setExtensionField2(reqDto.getExtensionField2());//sourceId:121071_1
            omsConfClassItem.setExtensionField3(reqDto.getExtensionField3());//sourceId:121072_1
            omsConfClassItem.setThrowPlace(reqDto.getThrowPlace());//sourceId:136567_1
        }

        /*2-3-06修改分组下配置项[1931]   */
        Assert.isNull(omsConfClassItem.getClassConfItemId(), "D2-3修改分组下配置项扩展信息-2-3-06修改分组下配置项-分组配置项ID不能为空", false);
        bOOLEAN = mOmsConfClassItemService.updateConfClassItem(omsConfClassItem);


        UpdateConfClassItEmextendInfoRespDto retData = new UpdateConfClassItEmextendInfoRespDto();


        return retData;
    }

    /**
     * D2-3查询框架导航菜单列表[2179]
     * gen by moon at 4/1/2024, 1:33:44 AM
     */
    @Trace(operationName = "D2-3查询框架导航菜单列表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryFrameNavMenusListRespDto queryFrameNavMenusList(QueryFrameNavMenusListReqDto reqDto) {


        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult_1 = new ArrayList<>();
//步骤0: 2-3-07查询方案下选项配置结果列表 - queryConfItemResultList
        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult = new ArrayList<>();
        QueryConfItemResultListReq queryConfItemResultListReq = new QueryConfItemResultListReq();
        queryConfItemResultListReq.setResultAspObjType("TENANT_SPACE");//sourceId:247194_1
        queryConfItemResultListReq.setIsInitialScheme("TRUE");//sourceId:247200_1
        queryConfItemResultListReq.setIsPlatData("FALSE");//sourceId:261098_1
        queryConfItemResultListReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:247189_1
        if (reqDto != null) {
            queryConfItemResultListReq.setConfItemClassCode(reqDto.getConfItemClassCode());//SimpleFieldAssign//sourceId:247198_1
            queryConfItemResultListReq.setConfItemCode(reqDto.getConfItemCode());//SimpleFieldAssign//sourceId:247264_1
            queryConfItemResultListReq.setResultAspObjId(reqDto.getResultAspObjId());//SimpleFieldAssign//sourceId:247195_1
        }

        /*2-3-07查询方案下选项配置结果列表[1940]   */
        Assert.isNull(queryConfItemResultListReq.getResultAspObjId(), "D2-3查询框架导航菜单列表-2-3-07查询方案下选项配置结果列表-开通对象ID不能为空", false);
        Assert.isNull(queryConfItemResultListReq.getResultAspObjType(), "D2-3查询框架导航菜单列表-2-3-07查询方案下选项配置结果列表-开通对象类型编码不能为空", false);
        Assert.isNull(queryConfItemResultListReq.getIsInitialScheme(), "D2-3查询框架导航菜单列表-2-3-07查询方案下选项配置结果列表-是否初始方案答案不能为空", false);
        Assert.isNull(queryConfItemResultListReq.getIsPlatData(), "D2-3查询框架导航菜单列表-2-3-07查询方案下选项配置结果列表-是否标准答案不能为空", false);
        Assert.isNull(queryConfItemResultListReq.getSubjectLifeCycle(), "D2-3查询框架导航菜单列表-2-3-07查询方案下选项配置结果列表-主体生命周期不能为空", false);
        listOmsConfSchemeOptionResult = mOmsConfSchemeOptionResultService.queryConfItemResultList(queryConfItemResultListReq)/*vcase invoke 本地 method 方法调用;*/;
        Assert.isTrue(listOmsConfSchemeOptionResult == null || CollectionUtil.isEmpty(listOmsConfSchemeOptionResult) || listOmsConfSchemeOptionResult == null || CollectionUtil.isEmpty(listOmsConfSchemeOptionResult) || listOmsConfSchemeOptionResult.size() == 0, "找不到数据，系统异常", false);

        listOmsConfSchemeOptionResult_1 = listOmsConfSchemeOptionResult;

        QueryFrameNavMenusListRespDto retData = new QueryFrameNavMenusListRespDto();
        retData.setFrameNavMenusList(listOmsConfSchemeOptionResult_1.stream().map(item -> BeanUtil.toBean(item, FrameNavMenusDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:247265_1


        return retData;
    }

    /**
     * D2-3批量查询二级导航菜单[4156]
     * gen by moon at 10/1/2022, 11:39:41 PM
     */
    @Trace(operationName = "D2-3批量查询二级导航菜单")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public BatchQuerySubNavMenusRespDto batchQuerySubNavMenus(BatchQuerySubNavMenusReqDto reqDto) {


        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult_1 = new ArrayList<>();
//步骤0: 2-3-06批量查询方案下选项配置结果列表ByCodes - batchQueryConfItemResultListByCodes
        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult = new ArrayList<>();
        BatchQueryConfItemResultListByCodesReq batchQueryConfItemResultListByCodesReq = new BatchQueryConfItemResultListByCodesReq();
        batchQueryConfItemResultListByCodesReq.setResultAspObjType("TENANT_SPACE");//sourceId:252830_1
        batchQueryConfItemResultListByCodesReq.setIsInitialScheme("TRUE");//sourceId:252832_1
        batchQueryConfItemResultListByCodesReq.setIsPlatData("FALSE");//sourceId:306717_1
        batchQueryConfItemResultListByCodesReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:252833_1
        if (reqDto != null) {
            //list-field-assign
            batchQueryConfItemResultListByCodesReq.setConfItemCodeList(reqDto.getConfItemList());//sourceId:252829_1
            batchQueryConfItemResultListByCodesReq.setResultAspObjId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:252831_1
        }

        /*2-3-06批量查询方案下选项配置结果列表ByCodes[3833]   */
        Assert.isNull(batchQueryConfItemResultListByCodesReq.getResultAspObjType(), "D2-3批量查询二级导航菜单-2-3-06批量查询方案下选项配置结果列表ByCodes-答案归属对象类型不能为空", false);
        Assert.isNull(batchQueryConfItemResultListByCodesReq.getResultAspObjId(), "D2-3批量查询二级导航菜单-2-3-06批量查询方案下选项配置结果列表ByCodes-答案归属对象ID不能为空", false);
        Assert.isNull(batchQueryConfItemResultListByCodesReq.getIsInitialScheme(), "D2-3批量查询二级导航菜单-2-3-06批量查询方案下选项配置结果列表ByCodes-是否初始方案答案不能为空", false);
        Assert.isNull(batchQueryConfItemResultListByCodesReq.getIsPlatData(), "D2-3批量查询二级导航菜单-2-3-06批量查询方案下选项配置结果列表ByCodes-是否平台数据不能为空", false);
        Assert.isNull(batchQueryConfItemResultListByCodesReq.getSubjectLifeCycle(), "D2-3批量查询二级导航菜单-2-3-06批量查询方案下选项配置结果列表ByCodes-主体生命周期不能为空", false);
        listOmsConfSchemeOptionResult = mOmsConfSchemeOptionResultService.batchQueryConfItemResultListByCodes(batchQueryConfItemResultListByCodesReq);
        Assert.isTrue(listOmsConfSchemeOptionResult == null || listOmsConfSchemeOptionResult == null || listOmsConfSchemeOptionResult.size() == 0, "返回值不能为空", false);

        listOmsConfSchemeOptionResult_1 = listOmsConfSchemeOptionResult;

        BatchQuerySubNavMenusRespDto retData = new BatchQuerySubNavMenusRespDto();
        retData.setSubNavMenusList(listOmsConfSchemeOptionResult_1.stream().map(item -> BeanUtil.toBean(item, SubNavMenusDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:252837_1


        return retData;
    }

    /**
     * D2-3新增方案下选项配置结果(公共)[4164]
     * gen by moon at 5/27/2023, 4:53:16 PM
     */
    @Trace(operationName = "D2-3新增方案下选项配置结果(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public AddConfItemResultComRespDto addConfItemResultCom(AddConfItemResultComReqDto reqDto) {


        //步骤0: 2-3-06查询分组下配置项详情 - queryConfClassItemDetail
        OmsConfClassItem omsConfClassItem = null;
        QueryConfClassItemDetailReq queryConfClassItemDetailReq = new QueryConfClassItemDetailReq();
        queryConfClassItemDetailReq.setIsArchive("FALSE");//sourceId:254299_1
        if (reqDto != null) {
            queryConfClassItemDetailReq.setClassConfItemId(reqDto.getClassConfItemId());//SimpleFieldAssign//sourceId:254391_1
        }

        /*2-3-06查配置项关系[1933]   */
        Assert.isNull(queryConfClassItemDetailReq.getClassConfItemId(), "D2-3新增方案下选项配置结果(公共)-2-3-06查配置项关系-配置项关系ID不能为空", false);
        Assert.isNull(queryConfClassItemDetailReq.getIsArchive(), "D2-3新增方案下选项配置结果(公共)-2-3-06查配置项关系-是否存档不能为空", false);
        omsConfClassItem = mOmsConfClassItemService.queryConfClassItemDetail(queryConfClassItemDetailReq)/*vcase invoke 本地 method 方法调用;*/;
        Assert.isTrue(omsConfClassItem == null || omsConfClassItem.getClassConfItemId() == null, "找不到数据，系统异常", false);


//步骤1: 2-3-05查询配置方案下分组详情 - queryConfItemClassDetail
        OmsConfItemClass omsConfItemClass = null;
        if (omsConfClassItem != null) {
            QueryConfItemClassDetailReq queryConfItemClassDetailReq = new QueryConfItemClassDetailReq();
            queryConfItemClassDetailReq.setIsArchive("FALSE");//sourceId:254310_1
            if (omsConfClassItem != null) {
                queryConfItemClassDetailReq.setConfItemClassId(omsConfClassItem.getConfItemClassId());//SimpleFieldAssign//sourceId:310429_1
            }

            /*2-3-05查询分组名称[1928]   */
            Assert.isNull(queryConfItemClassDetailReq.getConfItemClassId(), "D2-3新增方案下选项配置结果(公共)-2-3-05查询分组名称-方案分组ID不能为空", false);
            Assert.isNull(queryConfItemClassDetailReq.getIsArchive(), "D2-3新增方案下选项配置结果(公共)-2-3-05查询分组名称-是否存档不能为空", false);
            omsConfItemClass = mOmsConfItemClassService.queryConfItemClassDetail(queryConfItemClassDetailReq)/*vcase invoke 本地 method 方法调用;*/;
            Assert.isTrue(omsConfItemClass == null || omsConfItemClass.getConfItemClassId() == null, "找不到数据，系统异常", false);


        }

//步骤2: 2-3-02查询配置项详情 - queryConfItemDetail
        OmsConfItem omsConfItem = null;
        if (omsConfClassItem != null) {
            QueryConfItemDetailReq queryConfItemDetailReq = new QueryConfItemDetailReq();
            queryConfItemDetailReq.setIsArchive("FALSE");//sourceId:254382_1
            if (omsConfClassItem != null) {
                queryConfItemDetailReq.setConfItemId(omsConfClassItem.getConfItemId());//SimpleFieldAssign//sourceId:254361_1
            }

            /*2-3-02查询配置项简称等（用于新增答案入参）[1905]   */
            Assert.isNull(queryConfItemDetailReq.getConfItemId(), "D2-3新增方案下选项配置结果(公共)-2-3-02查询配置项简称等（用于新增答案入参）-配置项ID不能为空", false);
            Assert.isNull(queryConfItemDetailReq.getIsArchive(), "D2-3新增方案下选项配置结果(公共)-2-3-02查询配置项简称等（用于新增答案入参）-是否存档不能为空", false);
            omsConfItem = mOmsConfItemService.queryConfItemDetail(queryConfItemDetailReq)/*vcase invoke 本地 method 方法调用;*/;
            Assert.isTrue(omsConfItem == null || omsConfItem.getConfItemId() == null, "找不到数据，系统异常", false);


        }

//步骤3: 2-3-04查询配置方案详情 - queryConfSchemeDetail
        OmsConfScheme omsConfScheme = null;
        if (omsConfClassItem != null) {
            QueryConfSchemeDetailReq queryConfSchemeDetailReq = new QueryConfSchemeDetailReq();
            queryConfSchemeDetailReq.setIsArchive("FALSE");//sourceId:254323_1
            if (omsConfClassItem != null) {
                queryConfSchemeDetailReq.setConfSchemeId(omsConfClassItem.getConfSchemeId());//SimpleFieldAssign//sourceId:254321_1
            }

            /*2-3-04查配置方案名称等（用于新增答案入参）[1923]   */
            Assert.isNull(queryConfSchemeDetailReq.getConfSchemeId(), "D2-3新增方案下选项配置结果(公共)-2-3-04查配置方案名称等（用于新增答案入参）-配置方案ID 不能为空", false);
            Assert.isNull(queryConfSchemeDetailReq.getIsArchive(), "D2-3新增方案下选项配置结果(公共)-2-3-04查配置方案名称等（用于新增答案入参）-是否存档不能为空", false);
            omsConfScheme = mOmsConfSchemeService.queryConfSchemeDetail(queryConfSchemeDetailReq)/*vcase invoke 本地 method 方法调用;*/;
            Assert.isTrue(omsConfScheme == null || omsConfScheme.getConfSchemeId() == null, "找不到数据，系统异常", false);


        }

//步骤4: 2-3-07批量新增方案下选项配置结果 - batchAddConfItemResult
        boolean bOOLEAN;
        if (omsConfItem != null) {
            List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult = new ArrayList<>();
            if (reqDto != null && reqDto.getConfItemResultList() != null && !CollectionUtil.isEmpty(reqDto.getConfItemResultList())) {
                OmsConfItem finalOmsConfItem = omsConfItem;
                OmsConfScheme finalOmsConfScheme = omsConfScheme;
                OmsConfItemClass finalOmsConfItemClass = omsConfItemClass;
                listOmsConfSchemeOptionResult = //objList-to-objLists
                        reqDto.getConfItemResultList().stream().map(item -> {
                            OmsConfSchemeOptionResult elm = new OmsConfSchemeOptionResult();
                            if (item != null) {
                                elm.setEndValue(item.getEndValue());//SimpleFieldAssign//sourceId:94409_2
                                elm.setResultType(item.getResultType() != null ? String.valueOf(item.getResultType()) : "");//SimpleFieldAssign//sourceId:94408_2
                                elm.setExtensionField1(item.getExtensionField1());//SimpleFieldAssign//sourceId:94428_2
                                elm.setExtensionField2(item.getExtensionField2());//SimpleFieldAssign//sourceId:94429_2
                                elm.setExtensionField3(item.getExtensionField3());//SimpleFieldAssign//sourceId:94430_2
                                elm.setExtensionField4(item.getExtensionField4());//SimpleFieldAssign//sourceId:209928_2
                                elm.setOptionThrowPlace(item.getOptionThrowPlace() != null ? String.valueOf(item.getOptionThrowPlace()) : "");//SimpleFieldAssign//sourceId:209945_2
                                elm.setConfOptionSortNum(item.getConfOptionSortNum());//SimpleFieldAssign//sourceId:94431_2
                                elm.setIsPlatData(reqDto.getIsPlatData());//两个数组关联数量不一致; 导致逐个赋值; 有概率付错值; //SimpleFieldAssign//sourceId:94413_2
                                elm.setIsCeResult(reqDto.getIsCeResult());//两个数组关联数量不一致; 导致逐个赋值; 有概率付错值; //SimpleFieldAssign//sourceId:94414_2
                                elm.setIsUltrResult(reqDto.getIsUltrResult());//两个数组关联数量不一致; 导致逐个赋值; 有概率付错值; //SimpleFieldAssign//sourceId:209929_2
                                elm.setApplexRelId(reqDto.getApplexRelId());//两个数组关联数量不一致; 导致逐个赋值; 有概率付错值; //SimpleFieldAssign//sourceId:94990_2
                                elm.setSchOpenRecordId(reqDto.getSchOpenRecordId());//两个数组关联数量不一致; 导致逐个赋值; 有概率付错值; //SimpleFieldAssign//sourceId:94991_2
                                elm.setAuthorizationKeyTypeCode(reqDto.getAuthorizationKeyTypeCode());//两个数组关联数量不一致; 导致逐个赋值; 有概率付错值; //SimpleFieldAssign//sourceId:209930_2
                                elm.setResultAspObjId(reqDto.getResultAspObjId());//两个数组关联数量不一致; 导致逐个赋值; 有概率付错值; //SimpleFieldAssign//sourceId:94416_2
                                elm.setConfOptionRshipId(item.getConfOptionRshipId());//SimpleFieldAssign//sourceId:94412_2
                                elm.setConfOptionCode(item.getConfOptionCode());//SimpleFieldAssign//sourceId:94420_2
                                elm.setConfOptionName(item.getConfOptionName());//SimpleFieldAssign//sourceId:94421_2
                                elm.setClassConfItemId(reqDto.getClassConfItemId());//两个数组关联数量不一致; 导致逐个赋值; 有概率付错值; //SimpleFieldAssign//sourceId:94434_2
                                elm.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//两个数组关联数量不一致; 导致逐个赋值; 有概率付错值; //SimpleFieldAssign//sourceId:94419_2
                            }
                            if (finalOmsConfItem != null) {
                                elm.setOptionType(finalOmsConfItem.getConfItemCategory());//两个数组关联数量不一致; 导致逐个赋值; 有概率付错值; //SimpleFieldAssign//sourceId:94410_2
                                elm.setIsSingleResult(finalOmsConfItem.getIsSingleResult());//两个数组关联数量不一致; 导致逐个赋值; 有概率付错值; //SimpleFieldAssign//sourceId:94427_2
                                elm.setConfItemCode(finalOmsConfItem.getConfItemCode());//两个数组关联数量不一致; 导致逐个赋值; 有概率付错值; //SimpleFieldAssign//sourceId:94411_2
                                elm.setShortName(finalOmsConfItem.getShortName());//两个数组关联数量不一致; 导致逐个赋值; 有概率付错值; //SimpleFieldAssign//sourceId:94422_2
                            }
                            if (finalOmsConfScheme != null) {
                                elm.setIsInitialScheme(finalOmsConfScheme.getIsInitialScheme());//两个数组关联数量不一致; 导致逐个赋值; 有概率付错值; //SimpleFieldAssign//sourceId:94426_2
                                elm.setResultAspObjType(finalOmsConfScheme.getApplObjType());//两个数组关联数量不一致; 导致逐个赋值; 有概率付错值; //SimpleFieldAssign//sourceId:94415_2
                                elm.setConfSchemeId(finalOmsConfScheme.getConfSchemeId());//两个数组关联数量不一致; 导致逐个赋值; 有概率付错值; //SimpleFieldAssign//sourceId:94417_2
                                elm.setConfSchemeCode(finalOmsConfScheme.getConfSchemeCode());//两个数组关联数量不一致; 导致逐个赋值; 有概率付错值; //SimpleFieldAssign//sourceId:94418_2
                                elm.setConfSchemeName(finalOmsConfScheme.getConfSchemeName());//两个数组关联数量不一致; 导致逐个赋值; 有概率付错值; //SimpleFieldAssign//sourceId:94425_2
                            }
                            if (finalOmsConfItemClass != null) {
                                elm.setConfItemClassCode(finalOmsConfItemClass.getConfItemClassCode());//两个数组关联数量不一致; 导致逐个赋值; 有概率付错值; //SimpleFieldAssign//sourceId:94423_2
                                elm.setConfItemClassName(finalOmsConfItemClass.getConfItemClassName());//两个数组关联数量不一致; 导致逐个赋值; 有概率付错值; //SimpleFieldAssign//sourceId:94424_2
                            }
                            return elm;
                        }).collect(Collectors.toList());//objList-to-objLists//sourceId:310432_1
            }

            /*2-3-07批量增配置答案[2031]   */

            bOOLEAN = mOmsConfSchemeOptionResultService.batchAddConfItemResult(listOmsConfSchemeOptionResult)/*vcase invoke 本地 method 方法调用;*/;


        }

        AddConfItemResultComRespDto retData = new AddConfItemResultComRespDto();


        return retData;
    }

    /**
     * D2-3批量查询评价主题文案内容(公共)[3092]
     * gen by moon at 5/23/2024, 11:25:01 PM
     */
    @Trace(operationName = "D2-3批量查询评价主题文案内容(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public BatchQueryConfItemMatchEvaThemeAnswerComRespDto batchQueryConfItemMatchEvaThemeAnswerCom(BatchQueryConfItemMatchEvaThemeAnswerComReqDto reqDto) {


        TransitionEvaTempCopywriterColumnToRowResDto multiColumnToMultiRowRes_1 = null;
//步骤0: 2-3-07批量查询答案归属对象ID匹配答案 - batchQuery resultAspObjIdMatchAnswer
        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult = new ArrayList<>();
        BatchQueryresultAspObjIdMatchAnswerReq batchQueryresultAspObjIdMatchAnswerReq = new BatchQueryresultAspObjIdMatchAnswerReq();
        batchQueryresultAspObjIdMatchAnswerReq.setConfItemCode("TARGET_PLAN_TEMP_COPYWRITER");//CUSTOM_CONVENTION//sourceId:1077217_1
        batchQueryresultAspObjIdMatchAnswerReq.setIsPlatData("FALSE");//sourceId:1077220_1
        batchQueryresultAspObjIdMatchAnswerReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1077218_1
        if (reqDto != null) {
            batchQueryresultAspObjIdMatchAnswerReq.setConfItemResultList(reqDto.getOpenConfItemResultList());//list-field-assign//sourceId:1077210_1
        }

        /*2-3-07批量查标规划模板方案文案[4200]   */
        Assert.isNull(batchQueryresultAspObjIdMatchAnswerReq.getConfItemCode(), "D2-3批量查询评价主题文案内容(公共)-2-3-07批量查标规划模板方案文案-配置项标识不能为空", false);
        Assert.isNull(batchQueryresultAspObjIdMatchAnswerReq.getIsPlatData(), "D2-3批量查询评价主题文案内容(公共)-2-3-07批量查标规划模板方案文案-是否标准答案不能为空", false);
        Assert.isNull(batchQueryresultAspObjIdMatchAnswerReq.getSubjectLifeCycle(), "D2-3批量查询评价主题文案内容(公共)-2-3-07批量查标规划模板方案文案-主体生命周期不能为空", false);
        listOmsConfSchemeOptionResult = mOmsConfSchemeOptionResultService.batchQueryresultAspObjIdMatchAnswer(batchQueryresultAspObjIdMatchAnswerReq)/*vcase invoke 本地 method 方法调用;*/;


//步骤1: M2-转换评价模板文案列转行（特殊方法） - transitionEvaTempCopywriterColumnToRow
        //ModelCode: multiColumnToMultiRow
        TransitionEvaTempCopywriterColumnToRowResDto multiColumnToMultiRowRes = null;
        if (listOmsConfSchemeOptionResult != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult) && listOmsConfSchemeOptionResult.size() > 0) {
            TransitionEvaTempCopywriterColumnToRowReqDto multiColumnToMultiRowReq = new TransitionEvaTempCopywriterColumnToRowReqDto();
            if (listOmsConfSchemeOptionResult != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult) && listOmsConfSchemeOptionResult != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult)) {
                multiColumnToMultiRowReq.setConfSchemeItemResultList(listOmsConfSchemeOptionResult.stream().map(item -> {
                    ConfSchemeItemResultDto elm = BeanUtil.toBean(item, ConfSchemeItemResultDto.class);
                    // TODO: 2024/5/24 手写代码
                    elm.setConfSchemeId(item.getConfSchemeId());//COLUMN_TO_ROW_CODE  TODO ruizhe dong

                    return elm;
                }).collect(Collectors.toList()));//objList-to-objLists//sourceId:104754_1
            }

            /*M2-转换评价模板文案列转行（特殊方法）[2306]   */

            multiColumnToMultiRowRes = nbConfScheme.transitionEvaTempCopywriterColumnToRow(multiColumnToMultiRowReq);


            multiColumnToMultiRowRes_1 = multiColumnToMultiRowRes;
        }

        BatchQueryConfItemMatchEvaThemeAnswerComRespDto retData = new BatchQueryConfItemMatchEvaThemeAnswerComRespDto();
        if (multiColumnToMultiRowRes_1 != null) {
            retData.setConfSchemeItemResultList(multiColumnToMultiRowRes_1.getConfSchemeItemResultList().stream().map(item -> BeanUtil.toBean(item, ConfSchemeItemResultDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:333440_1
        }


        return retData;
    }

    /**
     * D2-3查询分组匹配模板答案公共)(跨服务）[3069]
     * gen by moon at 5/13/2023, 5:01:14 AM
     */
    @Trace(operationName = "D2-3查询分组匹配模板答案公共)(跨服务）")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QuerySchemeClassMatchEvaTempAnswerDetailComRespDto querySchemeClassMatchEvaTempAnswerDetailCom(QuerySchemeClassMatchEvaTempAnswerDetailComReqDto reqDto) {


        SchemeTempClassItemTransitionConfItemToAnswerRespDto columnToRowRes_1 = null;
//步骤0: 2-3-07查询方案下选项配置结果列表 - queryConfItemResultList
        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult = new ArrayList<>();
        QueryConfItemResultListReq queryConfItemResultListReq = new QueryConfItemResultListReq();
        queryConfItemResultListReq.setResultAspObjType("EVA_TEMP");//sourceId:102785_1
        queryConfItemResultListReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:102779_1
        if (reqDto != null) {
            queryConfItemResultListReq.setResultAspObjId(reqDto.getResultAspObjId());//SimpleFieldAssign//sourceId:102786_1
            queryConfItemResultListReq.setConfItemClassCode(reqDto.getConfItemClassCode());//SimpleFieldAssign//sourceId:102789_1
            queryConfItemResultListReq.setIsSingleResult(reqDto.getIsSingleResult());//SimpleFieldAssign//sourceId:126436_1
            queryConfItemResultListReq.setIsInitialScheme(reqDto.getIsInitialScheme());//SimpleFieldAssign//sourceId:102791_1
            queryConfItemResultListReq.setIsPlatData(reqDto.getIsPlatData());//SimpleFieldAssign//sourceId:308308_1
        }

        /*2-3-07查询方案下选项配置结果列表[1940]   */
        Assert.isNull(queryConfItemResultListReq.getResultAspObjId(), "D2-3查询分组匹配模板答案公共)(跨服务）-2-3-07查询方案下选项配置结果列表-开通对象ID不能为空", false);
        Assert.isNull(queryConfItemResultListReq.getResultAspObjType(), "D2-3查询分组匹配模板答案公共)(跨服务）-2-3-07查询方案下选项配置结果列表-开通对象类型编码不能为空", false);
        Assert.isNull(queryConfItemResultListReq.getConfItemClassCode(), "D2-3查询分组匹配模板答案公共)(跨服务）-2-3-07查询方案下选项配置结果列表-分组标识不能为空", false);
        Assert.isNull(queryConfItemResultListReq.getSubjectLifeCycle(), "D2-3查询分组匹配模板答案公共)(跨服务）-2-3-07查询方案下选项配置结果列表-主体生命周期不能为空", false);
        listOmsConfSchemeOptionResult = mOmsConfSchemeOptionResultService.queryConfItemResultList(queryConfItemResultListReq)/*vcase invoke 本地 method 方法调用;*/;
        Assert.isTrue(listOmsConfSchemeOptionResult == null || CollectionUtil.isEmpty(listOmsConfSchemeOptionResult) || listOmsConfSchemeOptionResult == null || CollectionUtil.isEmpty(listOmsConfSchemeOptionResult) || listOmsConfSchemeOptionResult.size() == 0, "找不到数据，系统异常", false);


//步骤1: M2转换配置项转答案(特殊方法） - transitionConfItemToAnswer
        //ModelCode: columnToRow
        SchemeTempClassItemTransitionConfItemToAnswerRespDto columnToRowRes = null;
        if (listOmsConfSchemeOptionResult != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult) && listOmsConfSchemeOptionResult.size() > 0) {
            SchemeTempClassItemTransitionConfItemToAnswerReqDto columnToRowReq = new SchemeTempClassItemTransitionConfItemToAnswerReqDto();
            if (listOmsConfSchemeOptionResult != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult) && listOmsConfSchemeOptionResult != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult)) {
                columnToRowReq.setConfSchemeItemResultList(listOmsConfSchemeOptionResult.stream().map(item -> {
                    ConfSchemeItemResultDto elm = BeanUtil.toBean(item, ConfSchemeItemResultDto.class);
                    //elm.setConfSchemeId();//COLUMN_TO_ROW_CODE  TODO ruizhe dong

                    return elm;
                }).collect(Collectors.toList()));//objList-to-objLists//sourceId:102805_1
            }

            /*M2转换配置项转答案(特殊方法）[3068]  将多列数据转成一行数据 */

            columnToRowRes = nbConfScheme.schemeTempClassItemTransitionConfItemToAnswer(columnToRowReq);


            columnToRowRes_1 = columnToRowRes;
        }

        QuerySchemeClassMatchEvaTempAnswerDetailComRespDto retData = new QuerySchemeClassMatchEvaTempAnswerDetailComRespDto();
        if (columnToRowRes_1 != null) {
            retData.setConfSchemeId(columnToRowRes_1.getConfSchemeId());//SimpleFieldAssign//sourceId:102844_1
            retData.setCycleMode(columnToRowRes_1.getCycleMode());//SimpleFieldAssign//sourceId:102856_1
            retData.setCycleSystemCode(columnToRowRes_1.getCycleSystemCode());//SimpleFieldAssign//sourceId:102875_1
            retData.setOpenMidCycle(columnToRowRes_1.getOpenMidCycle());//SimpleFieldAssign//sourceId:102855_1
            retData.setCycleType(columnToRowRes_1.getCycleType());//SimpleFieldAssign//sourceId:102846_1
            retData.setFatherCycleType(columnToRowRes_1.getFatherCycleType());//SimpleFieldAssign//sourceId:102845_1
            retData.setFatherSubcycleQuantity(columnToRowRes_1.getFatherSubcycleQuantity());//SimpleFieldAssign//sourceId:102847_1
            retData.setMidCycleType(columnToRowRes_1.getMidCycleType());//SimpleFieldAssign//sourceId:102848_1
            retData.setMidSubcycleQuantity(columnToRowRes_1.getMidSubcycleQuantity());//SimpleFieldAssign//sourceId:102849_1
            retData.setSubcycleType(columnToRowRes_1.getSubcycleType());//SimpleFieldAssign//sourceId:102850_1
            retData.setMonocycleCycleType(columnToRowRes_1.getMonocycleCycleType());//SimpleFieldAssign//sourceId:102851_1
            retData.setIrregularCycleType(columnToRowRes_1.getIrregularCycleType());//SimpleFieldAssign//sourceId:112143_1
            retData.setEvaluationTemplateTypeCode(columnToRowRes_1.getEvaluationTemplateTypeCode());//SimpleFieldAssign//sourceId:102852_1
            retData.setTargetPlanTempSubtype(columnToRowRes_1.getTargetPlanTempSubtype());//SimpleFieldAssign//sourceId:102853_1
            retData.setPlanningType(columnToRowRes_1.getPlanningType());//SimpleFieldAssign//sourceId:102854_1
            retData.setIsOpenEvaWork(columnToRowRes_1.getIsOpenEvaWork());//SimpleFieldAssign//sourceId:102865_1
            retData.setFiveYear(columnToRowRes_1.getFiveYear());//SimpleFieldAssign//sourceId:102866_1
            retData.setThreeYear(columnToRowRes_1.getThreeYear());//SimpleFieldAssign//sourceId:102867_1
            retData.setYear(columnToRowRes_1.getYear());//SimpleFieldAssign//sourceId:102868_1
            retData.setHalfYear(columnToRowRes_1.getHalfYear());//SimpleFieldAssign//sourceId:102869_1
            retData.setQuarter(columnToRowRes_1.getQuarter());//SimpleFieldAssign//sourceId:102870_1
            retData.setDoubleMonths(columnToRowRes_1.getDoubleMonths());//SimpleFieldAssign//sourceId:102871_1
            retData.setMonth(columnToRowRes_1.getMonth());//SimpleFieldAssign//sourceId:102872_1
            retData.setOpenCreateBizAppCode(columnToRowRes_1.getOpenCreateBizAppCode());//SimpleFieldAssign//sourceId:102873_1
            retData.setIsOpenPlanSchemeClass(columnToRowRes_1.getIsOpenPlanSchemeClass());//SimpleFieldAssign//sourceId:102874_1
            retData.setIsOpenFillWork(columnToRowRes_1.getIsOpenFillWork());//SimpleFieldAssign//sourceId:102876_1
            retData.setPlanSchemeClass(columnToRowRes_1.getPlanSchemeClass());//SimpleFieldAssign//sourceId:102877_1
            retData.setTimeCountReferTime(columnToRowRes_1.getTimeCountReferTime());//SimpleFieldAssign//sourceId:102878_1
            retData.setTimeRulesSetLevel(columnToRowRes_1.getTimeRulesSetLevel());//SimpleFieldAssign//sourceId:102879_1
            retData.setFillTimeRulesCode(columnToRowRes_1.getFillTimeRulesCode());//SimpleFieldAssign//sourceId:102880_1
            retData.setEvaTimeRulesCode(columnToRowRes_1.getEvaTimeRulesCode());//SimpleFieldAssign//sourceId:102881_1
            retData.setUseObjectTypeCode(columnToRowRes_1.getUseObjectTypeCode());//SimpleFieldAssign//sourceId:108765_1
            retData.setOkrType(columnToRowRes_1.getOkrType());//SimpleFieldAssign//sourceId:108766_1
            retData.setBizSceneCode(columnToRowRes_1.getBizSceneCode());//SimpleFieldAssign//sourceId:112140_1
            retData.setEvaluationSubjectTypeCode(columnToRowRes_1.getEvaluationSubjectTypeCode());//SimpleFieldAssign//sourceId:112141_1
            retData.setIsOkrPlanScene(columnToRowRes_1.getIsOkrPlanScene());//SimpleFieldAssign//sourceId:112142_1
            retData.setScoreDecimalPoint(columnToRowRes_1.getScoreDecimalPoint());//SimpleFieldAssign//sourceId:116697_1
            retData.setDegreeDecimalPoint(columnToRowRes_1.getDegreeDecimalPoint());//SimpleFieldAssign//sourceId:116699_1
            retData.setProgressDecimalPoint(columnToRowRes_1.getProgressDecimalPoint());//SimpleFieldAssign//sourceId:116700_1
            retData.setDecimalPointRules(columnToRowRes_1.getDecimalPointRules());//SimpleFieldAssign//sourceId:116701_1
            retData.setDecimalDigitsLastRules(columnToRowRes_1.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:116702_1
            retData.setIsOpenCourseSubjectiveScore(columnToRowRes_1.getIsOpenCourseSubjectiveScore());//SimpleFieldAssign//sourceId:116812_1
            retData.setIsCustomTimeRules(columnToRowRes_1.getIsCustomTimeRules());//SimpleFieldAssign//sourceId:126446_1
            retData.setDockCalculateType(columnToRowRes_1.getDockCalculateType());//SimpleFieldAssign//sourceId:126447_1
            retData.setSubjectiveRatingTotalValue(columnToRowRes_1.getSubjectiveRatingTotalValue());//SimpleFieldAssign//sourceId:257204_1
            retData.setSubjectiveRatingTotalValueUnit(columnToRowRes_1.getSubjectiveRatingTotalValueUnit());//SimpleFieldAssign//sourceId:257205_1
            retData.setTargetFullTotalValue(columnToRowRes_1.getTargetFullTotalValue());//SimpleFieldAssign//sourceId:257290_1
            retData.setTargetTaskFullTotalValue(columnToRowRes_1.getTargetTaskFullTotalValue());//SimpleFieldAssign//sourceId:257291_1
            retData.setOkrFullTotalValue(columnToRowRes_1.getOkrFullTotalValue());//SimpleFieldAssign//sourceId:257292_1
            retData.setTargetFullMarkUnit(columnToRowRes_1.getTargetFullMarkUnit());//SimpleFieldAssign//sourceId:257293_1
            retData.setWeightDecimalPoint(columnToRowRes_1.getWeightDecimalPoint() != null ? String.valueOf(columnToRowRes_1.getWeightDecimalPoint()) : "");//SimpleFieldAssign//sourceId:258472_1
            retData.setWeightPoint(columnToRowRes_1.getWeightPoint());//SimpleFieldAssign//sourceId:258473_1
            retData.setBudgetHierarchy(columnToRowRes_1.getBudgetHierarchy());//SimpleFieldAssign//sourceId:423195_1
            retData.setIsOpenBudget(columnToRowRes_1.getIsOpenBudget());//SimpleFieldAssign//sourceId:423196_1
            retData.setIncreasesDropDecimalPoint(columnToRowRes_1.getIncreasesDropDecimalPoint() != null ? String.valueOf(columnToRowRes_1.getIncreasesDropDecimalPoint()) : "");//SimpleFieldAssign//sourceId:583570_1
            retData.setIsOpenWorkGroup(columnToRowRes_1.getIsOpenWorkGroup());//SimpleFieldAssign//sourceId:770701_1
            retData.setWorkGroupName(columnToRowRes_1.getWorkGroupName());//SimpleFieldAssign//sourceId:770702_1
            retData.setSubjectiveScorePoint(columnToRowRes_1.getSubjectiveScorePoint());//SimpleFieldAssign//sourceId:770703_1
        }


        return retData;
    }

    /**
     * D2-3查询方案分组匹配结果转答案(公共)[3098]
     * gen by moon at 11/23/2023, 10:11:46 PM
     */
    @Trace(operationName = "D2-3查询方案分组匹配结果转答案(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QuerySchemeClassMatchResultToAnswerDetailComRespDto querySchemeClassMatchResultToAnswerDetailCom(QuerySchemeClassMatchResultToAnswerDetailComReqDto reqDto) {


        SchemeClassItemTransitionConfItemToAnswerRespDto columnToRowRes_1 = null;
//步骤0: 2-3-07查询方案下选项配置结果列表 - queryConfItemResultList
        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult = new ArrayList<>();
        QueryConfItemResultListReq queryConfItemResultListReq = new QueryConfItemResultListReq();
        queryConfItemResultListReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:106205_1
        if (reqDto != null) {
            queryConfItemResultListReq.setConfSchemeCode(reqDto.getConfSchemeCode());//SimpleFieldAssign//sourceId:106203_1
            queryConfItemResultListReq.setConfItemClassCode(reqDto.getConfItemClassCode());//SimpleFieldAssign//sourceId:106204_1
            queryConfItemResultListReq.setIsSingleResult(reqDto.getIsSingleResult());//SimpleFieldAssign//sourceId:106207_1
            queryConfItemResultListReq.setIsInitialScheme(reqDto.getIsInitialScheme());//SimpleFieldAssign//sourceId:308148_1
            queryConfItemResultListReq.setIsPlatData(reqDto.getIsPlatData());//SimpleFieldAssign//sourceId:308149_1
        }

        /*2-3-07查询方案下选项配置结果列表[1940]   */
        Assert.isNull(queryConfItemResultListReq.getConfSchemeCode(), "D2-3查询方案分组匹配结果转答案(公共)-2-3-07查询方案下选项配置结果列表-配置方案标识不能为空", false);
        Assert.isNull(queryConfItemResultListReq.getConfItemClassCode(), "D2-3查询方案分组匹配结果转答案(公共)-2-3-07查询方案下选项配置结果列表-分组标识不能为空", false);
        Assert.isNull(queryConfItemResultListReq.getIsSingleResult(), "D2-3查询方案分组匹配结果转答案(公共)-2-3-07查询方案下选项配置结果列表-是否单一答案不能为空", false);
        Assert.isNull(queryConfItemResultListReq.getIsInitialScheme(), "D2-3查询方案分组匹配结果转答案(公共)-2-3-07查询方案下选项配置结果列表-是否初始方案答案不能为空", false);
        Assert.isNull(queryConfItemResultListReq.getIsPlatData(), "D2-3查询方案分组匹配结果转答案(公共)-2-3-07查询方案下选项配置结果列表-是否标准答案不能为空", false);
        Assert.isNull(queryConfItemResultListReq.getSubjectLifeCycle(), "D2-3查询方案分组匹配结果转答案(公共)-2-3-07查询方案下选项配置结果列表-主体生命周期不能为空", false);
        listOmsConfSchemeOptionResult = mOmsConfSchemeOptionResultService.queryConfItemResultList(queryConfItemResultListReq)/*vcase invoke 本地 method 方法调用;*/;


//步骤1: M2转换配置项转答案(特殊方法） - transitionConfItemToAnswer
        //ModelCode: columnToRow
        SchemeClassItemTransitionConfItemToAnswerRespDto columnToRowRes = null;
        if (listOmsConfSchemeOptionResult != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult) && listOmsConfSchemeOptionResult.size() > 0) {
            SchemeClassItemTransitionConfItemToAnswerReqDto columnToRowReq = new SchemeClassItemTransitionConfItemToAnswerReqDto();
            if (listOmsConfSchemeOptionResult != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult) && listOmsConfSchemeOptionResult != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult)) {
                columnToRowReq.setConfSchemeItemResultList(listOmsConfSchemeOptionResult.stream().map(item -> {
                    ConfSchemeItemResultDto elm = BeanUtil.toBean(item, ConfSchemeItemResultDto.class);
                    //elm.setConfSchemeId();//COLUMN_TO_ROW_CODE  TODO ruizhe dong

                    return elm;
                }).collect(Collectors.toList()));//objList-to-objLists//sourceId:106151_1
            }

            /*M2转换配置项转答案(特殊方法）[3068]  将多列数据转成一行数据 */

            columnToRowRes = nbConfScheme.schemeClassItemTransitionConfItemToAnswer(columnToRowReq);


            columnToRowRes_1 = columnToRowRes;
        }

        QuerySchemeClassMatchResultToAnswerDetailComRespDto retData = new QuerySchemeClassMatchResultToAnswerDetailComRespDto();
        if (columnToRowRes_1 != null) {
            retData.setFatherCycleType(columnToRowRes_1.getFatherCycleType());//SimpleFieldAssign//sourceId:106213_1
            retData.setCycleType(columnToRowRes_1.getCycleType());//SimpleFieldAssign//sourceId:106214_1
            retData.setFatherSubcycleQuantity(columnToRowRes_1.getFatherSubcycleQuantity());//SimpleFieldAssign//sourceId:106215_1
            retData.setMidCycleType(columnToRowRes_1.getMidCycleType());//SimpleFieldAssign//sourceId:106216_1
            retData.setMidSubcycleQuantity(columnToRowRes_1.getMidSubcycleQuantity());//SimpleFieldAssign//sourceId:106217_1
            retData.setSubcycleType(columnToRowRes_1.getSubcycleType());//SimpleFieldAssign//sourceId:106218_1
            retData.setMonocycleCycleType(columnToRowRes_1.getMonocycleCycleType());//SimpleFieldAssign//sourceId:106219_1
            retData.setIrregularCycleType(columnToRowRes_1.getIrregularCycleType());//SimpleFieldAssign//sourceId:113658_1
            retData.setEvaluationTemplateTypeCode(columnToRowRes_1.getEvaluationTemplateTypeCode());//SimpleFieldAssign//sourceId:106220_1
            retData.setTargetPlanTempSubtype(columnToRowRes_1.getTargetPlanTempSubtype());//SimpleFieldAssign//sourceId:106221_1
            retData.setPlanningType(columnToRowRes_1.getPlanningType());//SimpleFieldAssign//sourceId:106222_1
            retData.setOpenMidCycle(columnToRowRes_1.getOpenMidCycle());//SimpleFieldAssign//sourceId:106223_1
            retData.setCycleMode(columnToRowRes_1.getCycleMode());//SimpleFieldAssign//sourceId:106224_1
            retData.setIsOpenEvaWork(columnToRowRes_1.getIsOpenEvaWork());//SimpleFieldAssign//sourceId:106233_1
            retData.setFiveYear(columnToRowRes_1.getFiveYear());//SimpleFieldAssign//sourceId:106234_1
            retData.setThreeYear(columnToRowRes_1.getThreeYear());//SimpleFieldAssign//sourceId:106235_1
            retData.setYear(columnToRowRes_1.getYear());//SimpleFieldAssign//sourceId:106236_1
            retData.setHalfYear(columnToRowRes_1.getHalfYear());//SimpleFieldAssign//sourceId:106237_1
            retData.setQuarter(columnToRowRes_1.getQuarter());//SimpleFieldAssign//sourceId:106238_1
            retData.setDoubleMonths(columnToRowRes_1.getDoubleMonths());//SimpleFieldAssign//sourceId:106239_1
            retData.setMonth(columnToRowRes_1.getMonth());//SimpleFieldAssign//sourceId:106240_1
            retData.setOpenCreateBizAppCode(columnToRowRes_1.getOpenCreateBizAppCode());//SimpleFieldAssign//sourceId:106241_1
            retData.setIsOpenPlanSchemeClass(columnToRowRes_1.getIsOpenPlanSchemeClass());//SimpleFieldAssign//sourceId:106242_1
            retData.setCycleSystemCode(columnToRowRes_1.getCycleSystemCode());//SimpleFieldAssign//sourceId:106243_1
            retData.setIsOpenFillWork(columnToRowRes_1.getIsOpenFillWork());//SimpleFieldAssign//sourceId:106244_1
            retData.setPlanSchemeClass(columnToRowRes_1.getPlanSchemeClass());//SimpleFieldAssign//sourceId:106245_1
            retData.setTimeCountReferTime(columnToRowRes_1.getTimeCountReferTime());//SimpleFieldAssign//sourceId:106246_1
            retData.setTimeRulesSetLevel(columnToRowRes_1.getTimeRulesSetLevel());//SimpleFieldAssign//sourceId:106247_1
            retData.setFillTimeRulesCode(columnToRowRes_1.getFillTimeRulesCode());//SimpleFieldAssign//sourceId:106248_1
            retData.setEvaTimeRulesCode(columnToRowRes_1.getEvaTimeRulesCode());//SimpleFieldAssign//sourceId:106249_1
            retData.setOrgStructureModel(columnToRowRes_1.getOrgStructureModel());//SimpleFieldAssign//sourceId:106250_1
            retData.setIsIntergration(columnToRowRes_1.getIsIntergration());//SimpleFieldAssign//sourceId:106251_1
            retData.setIsAllowImport(columnToRowRes_1.getIsAllowImport());//SimpleFieldAssign//sourceId:106252_1
            retData.setIsOpenApprovalProcess(columnToRowRes_1.getIsOpenApprovalProcess());//SimpleFieldAssign//sourceId:106253_1
            retData.setOpenManyOrg(columnToRowRes_1.getOpenManyOrg());//SimpleFieldAssign//sourceId:106254_1
            retData.setHeadCopywriter(columnToRowRes_1.getHeadCopywriter());//SimpleFieldAssign//sourceId:106255_1
            retData.setEvaThemeSketch(columnToRowRes_1.getEvaThemeSketch());//SimpleFieldAssign//sourceId:106256_1
            retData.setButtonCopywriter(columnToRowRes_1.getButtonCopywriter());//SimpleFieldAssign//sourceId:106257_1
            retData.setMediaContentAddress(columnToRowRes_1.getMediaContentAddress());//SimpleFieldAssign//sourceId:106258_1
            retData.setIsOpenSmsService(columnToRowRes_1.getIsOpenSmsService());//SimpleFieldAssign//sourceId:106259_1
            retData.setIsUsePlatformSmsService(columnToRowRes_1.getIsUsePlatformSmsService());//SimpleFieldAssign//sourceId:106260_1
            retData.setAccessKeyId(columnToRowRes_1.getAccessKeyId());//SimpleFieldAssign//sourceId:106261_1
            retData.setAccessKeySecret(columnToRowRes_1.getAccessKeySecret());//SimpleFieldAssign//sourceId:106262_1
        }


        return retData;
    }

    /**
     * D2-3查询配置项匹配结果扩展信息列表(公共)[3218]
     * gen by moon at 4/2/2024, 11:28:12 PM
     */
    @Trace(operationName = "D2-3查询配置项匹配结果扩展信息列表(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryConfItemMatchResultExtendListComRespDto queryConfItemMatchResultExtendListCom(QueryConfItemMatchResultExtendListComReqDto reqDto) {


        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult_1 = new ArrayList<>();
//步骤0: 2-3-07查询方案下选项配置结果列表 - queryConfItemResultList
        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult = new ArrayList<>();
        QueryConfItemResultListReq queryConfItemResultListReq = new QueryConfItemResultListReq();
        queryConfItemResultListReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:121744_1
        if (reqDto != null) {
            queryConfItemResultListReq.setResultAspObjId(reqDto.getResultAspObjId());//SimpleFieldAssign//sourceId:121750_1
            queryConfItemResultListReq.setResultAspObjType(reqDto.getResultAspObjType());//SimpleFieldAssign//sourceId:121749_1
            queryConfItemResultListReq.setConfItemCode(reqDto.getConfItemCode());//SimpleFieldAssign//sourceId:121752_1
            queryConfItemResultListReq.setExtensionField1(reqDto.getExtensionField1());//SimpleFieldAssign//sourceId:159359_1
            queryConfItemResultListReq.setExtensionField2(reqDto.getExtensionField2());//SimpleFieldAssign//sourceId:159360_1
            queryConfItemResultListReq.setExtensionField3(reqDto.getExtensionField3());//SimpleFieldAssign//sourceId:159361_1
            queryConfItemResultListReq.setIsPlatData(reqDto.getIsPlatData());//SimpleFieldAssign//sourceId:315160_1
        }

        /*2-3-07查询方案下选项配置结果列表[1940]   */
        Assert.isNull(queryConfItemResultListReq.getResultAspObjId(), "D2-3查询配置项匹配结果扩展信息列表(公共)-2-3-07查询方案下选项配置结果列表-开通对象ID不能为空", false);
        Assert.isNull(queryConfItemResultListReq.getConfItemCode(), "D2-3查询配置项匹配结果扩展信息列表(公共)-2-3-07查询方案下选项配置结果列表-配置项标识不能为空", false);
        Assert.isNull(queryConfItemResultListReq.getSubjectLifeCycle(), "D2-3查询配置项匹配结果扩展信息列表(公共)-2-3-07查询方案下选项配置结果列表-主体生命周期不能为空", false);
        listOmsConfSchemeOptionResult = mOmsConfSchemeOptionResultService.queryConfItemResultList(queryConfItemResultListReq)/*vcase invoke 本地 method 方法调用;*/;


        listOmsConfSchemeOptionResult_1 = listOmsConfSchemeOptionResult;

        QueryConfItemMatchResultExtendListComRespDto retData = new QueryConfItemMatchResultExtendListComRespDto();
        retData.setConfSchemeItemResultList(listOmsConfSchemeOptionResult_1.stream().map(item -> BeanUtil.toBean(item, ConfSchemeItemResultDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:121762_1


        return retData;
    }

    /**
     * D2-3查询选项匹配结果扩展信息详情(公共)[3232]
     * gen by moon at 5/21/2023, 6:24:57 PM
     */
    @Trace(operationName = "D2-3查询选项匹配结果扩展信息详情(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryOptionMatchResultExtendDetailComRespDto queryOptionMatchResultExtendDetailCom(QueryOptionMatchResultExtendDetailComReqDto reqDto) {


        OmsConfSchemeOptionResult omsConfSchemeOptionResult_1 = null;
//步骤0: 2-3-07查询方案下选项配置结果详情 - queryConfItemResultDetail
        OmsConfSchemeOptionResult omsConfSchemeOptionResult = null;
        QueryConfItemResultDetailReq queryConfItemResultDetailReq = new QueryConfItemResultDetailReq();
        queryConfItemResultDetailReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:122909_1
        if (reqDto != null) {
            queryConfItemResultDetailReq.setEndValue(reqDto.getEndValue());//SimpleFieldAssign//sourceId:523928_1
            queryConfItemResultDetailReq.setExtensionField3(reqDto.getExtensionField3());//SimpleFieldAssign//sourceId:122942_1
            queryConfItemResultDetailReq.setConfOptionCode(reqDto.getConfOptionCode());//SimpleFieldAssign//sourceId:122937_1
            queryConfItemResultDetailReq.setConfItemCode(reqDto.getConfItemCode());//SimpleFieldAssign//sourceId:122923_1
            queryConfItemResultDetailReq.setConfSchemeId(reqDto.getConfSchemeId());//SimpleFieldAssign//sourceId:896111_1
            queryConfItemResultDetailReq.setConfSchemeCode(reqDto.getConfSchemeCode());//SimpleFieldAssign//sourceId:347571_1
            queryConfItemResultDetailReq.setResultAspObjType(reqDto.getResultAspObjType());//SimpleFieldAssign//sourceId:122927_1
            queryConfItemResultDetailReq.setResultAspObjId(reqDto.getResultAspObjId());//SimpleFieldAssign//sourceId:122928_1
            queryConfItemResultDetailReq.setIsInitialScheme(reqDto.getIsInitialScheme());//SimpleFieldAssign//sourceId:308577_1
            queryConfItemResultDetailReq.setIsPlatData(reqDto.getIsPlatData());//SimpleFieldAssign//sourceId:308575_1
            queryConfItemResultDetailReq.setExtensionField2(reqDto.getExtensionField2());//SimpleFieldAssign//sourceId:751527_1
        }

        /*2-3-07查询方案下选项配置结果详情[1939]   */

        omsConfSchemeOptionResult = mOmsConfSchemeOptionResultService.queryConfItemResultDetail(queryConfItemResultDetailReq)/*vcase invoke 本地 method 方法调用;*/;


        omsConfSchemeOptionResult_1 = omsConfSchemeOptionResult;

        QueryOptionMatchResultExtendDetailComRespDto retData = new QueryOptionMatchResultExtendDetailComRespDto();
        if (omsConfSchemeOptionResult_1 != null) {
            retData.setOptionResultId(omsConfSchemeOptionResult_1.getOptionResultId());//SimpleFieldAssign//sourceId:122954_1
            retData.setEndValue(omsConfSchemeOptionResult_1.getEndValue());//SimpleFieldAssign//sourceId:122955_1
            retData.setConfOptionCode(omsConfSchemeOptionResult_1.getConfOptionCode());//SimpleFieldAssign//sourceId:782438_1
            retData.setConfOptionName(omsConfSchemeOptionResult_1.getConfOptionName());//SimpleFieldAssign//sourceId:332775_1
            retData.setExtensionField1(omsConfSchemeOptionResult_1.getExtensionField1());//SimpleFieldAssign//sourceId:122956_1
            retData.setExtensionField2(omsConfSchemeOptionResult_1.getExtensionField2());//SimpleFieldAssign//sourceId:968614_1
            retData.setExtensionField3(omsConfSchemeOptionResult_1.getExtensionField3());//SimpleFieldAssign//sourceId:968615_1
            retData.setConfOptionSortNum(omsConfSchemeOptionResult_1.getConfOptionSortNum());//SimpleFieldAssign//sourceId:657380_1
        }


        return retData;
    }

    /**
     * D3-2查询答案结果匹配判断配置条件(公共)[3509]
     * gen by moon at 11/1/2022, 7:45:28 AM
     */
    @Trace(operationName = "D3-2查询答案结果匹配判断配置条件(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryAnswerMatchEstimateConfConditionDetailComRespDto queryAnswerMatchEstimateConfConditionDetailCom(QueryAnswerMatchEstimateConfConditionDetailComReqDto reqDto) {


        OmsConfSchemeOptionResult omsConfSchemeOptionResult_1 = null;
//步骤0: 2-3-07查询方案下选项配置结果详情 - queryConfItemResultDetail
        OmsConfSchemeOptionResult omsConfSchemeOptionResult = null;
        QueryConfItemResultDetailReq queryConfItemResultDetailReq = new QueryConfItemResultDetailReq();
        queryConfItemResultDetailReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:151595_1
        if (reqDto != null) {
            queryConfItemResultDetailReq.setResultAspObjType(reqDto.getResultAspObjType());//SimpleFieldAssign//sourceId:151613_1
            queryConfItemResultDetailReq.setResultAspObjId(reqDto.getResultAspObjId());//SimpleFieldAssign//sourceId:151614_1
            queryConfItemResultDetailReq.setEndValue(reqDto.getEndValue());//SimpleFieldAssign//sourceId:151626_1
            queryConfItemResultDetailReq.setConfItemCode(reqDto.getConfItemCode());//SimpleFieldAssign//sourceId:151609_1
            queryConfItemResultDetailReq.setConfSchemeId(reqDto.getConfSchemeId());//SimpleFieldAssign//sourceId:384280_1
            queryConfItemResultDetailReq.setConfSchemeCode(reqDto.getConfSchemeCode());//SimpleFieldAssign//sourceId:384281_1
            queryConfItemResultDetailReq.setExtensionField3(reqDto.getExtensionField3());//SimpleFieldAssign//sourceId:159350_1
            queryConfItemResultDetailReq.setIsPlatData(reqDto.getIsPlatData());//SimpleFieldAssign//sourceId:308650_1
            queryConfItemResultDetailReq.setIsInitialScheme(reqDto.getIsInitialScheme());//SimpleFieldAssign//sourceId:308651_1
        }

        /*2-3-07查询方案下选项配置结果详情[1939]   */
        Assert.isNull(queryConfItemResultDetailReq.getConfItemCode(), "D3-2查询答案结果匹配判断配置条件(公共)-2-3-07查询方案下选项配置结果详情-配置项标识不能为空", false);
        Assert.isNull(queryConfItemResultDetailReq.getSubjectLifeCycle(), "D3-2查询答案结果匹配判断配置条件(公共)-2-3-07查询方案下选项配置结果详情-主体生命周期不能为空", false);
        omsConfSchemeOptionResult = mOmsConfSchemeOptionResultService.queryConfItemResultDetail(queryConfItemResultDetailReq);


        omsConfSchemeOptionResult_1 = omsConfSchemeOptionResult;

        QueryAnswerMatchEstimateConfConditionDetailComRespDto retData = new QueryAnswerMatchEstimateConfConditionDetailComRespDto();
        if (omsConfSchemeOptionResult_1 != null) {
            retData.setOptionResultId(omsConfSchemeOptionResult_1.getOptionResultId());//SimpleFieldAssign//sourceId:151633_1
            retData.setEndValue(omsConfSchemeOptionResult_1.getEndValue());//SimpleFieldAssign//sourceId:152043_1
            retData.setConfItemCode(omsConfSchemeOptionResult_1.getConfItemCode());//SimpleFieldAssign//sourceId:151634_1
        }


        return retData;
    }

    /**
     * D2-3查询配置项匹配模板答案(公共)（跨服务）[3067]
     * gen by moon at 10/17/2023, 4:38:22 PM
     */
    @Trace(operationName = "D2-3查询配置项匹配模板答案(公共)（跨服务）")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryConfItemMatchEvaTempAnswerDetailComRespDto queryConfItemMatchEvaTempAnswerDetailCom(QueryConfItemMatchEvaTempAnswerDetailComReqDto reqDto) {


        SchemeTempConfItemTransitionConfItemToAnswerRespDto columnToRowRes_1 = null;
//步骤0: 2-3-07查配置项匹配答案列表 - queryConfItemMatchAnswerList
        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult = new ArrayList<>();
        QueryConfItemMatchAnswerListReq queryConfItemMatchAnswerListReq = new QueryConfItemMatchAnswerListReq();
        queryConfItemMatchAnswerListReq.setResultAspObjType("EVA_TEMP");//sourceId:102644_1
        if (reqDto != null) {
            queryConfItemMatchAnswerListReq.setConfItemCode(reqDto.getConfItemCode());//SimpleFieldAssign//sourceId:102643_1
            queryConfItemMatchAnswerListReq.setResultAspObjId(reqDto.getResultAspObjId());//SimpleFieldAssign//sourceId:102645_1
            queryConfItemMatchAnswerListReq.setIsInitialScheme(reqDto.getIsInitialScheme());//SimpleFieldAssign//sourceId:102654_1
            queryConfItemMatchAnswerListReq.setIsPlatData(reqDto.getIsPlatData());//SimpleFieldAssign//sourceId:308309_1
            queryConfItemMatchAnswerListReq.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:102649_1
        }

        /*2-3-07查配置项匹配答案列表[2506]   */
        Assert.isNull(queryConfItemMatchAnswerListReq.getConfItemCode(), "D2-3查询配置项匹配模板答案(公共)（跨服务）-2-3-07查配置项匹配答案列表-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerListReq.getResultAspObjId(), "D2-3查询配置项匹配模板答案(公共)（跨服务）-2-3-07查配置项匹配答案列表-开通对象ID不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerListReq.getResultAspObjType(), "D2-3查询配置项匹配模板答案(公共)（跨服务）-2-3-07查配置项匹配答案列表-开通对象类型编码不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerListReq.getIsPlatData(), "D2-3查询配置项匹配模板答案(公共)（跨服务）-2-3-07查配置项匹配答案列表-是否标准答案不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerListReq.getSubjectLifeCycle(), "D2-3查询配置项匹配模板答案(公共)（跨服务）-2-3-07查配置项匹配答案列表-主体生命周期不能为空", false);
        listOmsConfSchemeOptionResult = mOmsConfSchemeOptionResultService.queryConfItemMatchAnswerList(queryConfItemMatchAnswerListReq)/*vcase invoke 本地 method 方法调用;*/;


//步骤1: M2转换配置项转答案(特殊方法） - transitionConfItemToAnswer
        //ModelCode: columnToRow
        SchemeTempConfItemTransitionConfItemToAnswerRespDto columnToRowRes = null;
        if (listOmsConfSchemeOptionResult != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult) && listOmsConfSchemeOptionResult.size() > 0) {
            SchemeTempConfItemTransitionConfItemToAnswerReqDto columnToRowReq = new SchemeTempConfItemTransitionConfItemToAnswerReqDto();
            if (listOmsConfSchemeOptionResult != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult) && listOmsConfSchemeOptionResult != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult)) {
                columnToRowReq.setConfSchemeItemResultList(listOmsConfSchemeOptionResult.stream().map(item -> {
                    ConfSchemeItemResultDto elm = BeanUtil.toBean(item, ConfSchemeItemResultDto.class);
                    //elm.setConfSchemeId();//COLUMN_TO_ROW_CODE  TODO ruizhe dong

                    return elm;
                }).collect(Collectors.toList()));//objList-to-objLists//sourceId:102695_1
            }

            /*M2转换配置项转答案(特殊方法）[3068]  将多列数据转成一行数据 */

            columnToRowRes = nbConfScheme.schemeTempConfItemTransitionConfItemToAnswer(columnToRowReq);


            columnToRowRes_1 = columnToRowRes;
        }

        QueryConfItemMatchEvaTempAnswerDetailComRespDto retData = new QueryConfItemMatchEvaTempAnswerDetailComRespDto();
        if (columnToRowRes_1 != null) {
            retData.setFatherCycleType(columnToRowRes_1.getFatherCycleType());//SimpleFieldAssign//sourceId:102738_1
            retData.setCycleType(columnToRowRes_1.getCycleType());//SimpleFieldAssign//sourceId:102739_1
            retData.setFatherSubcycleQuantity(columnToRowRes_1.getFatherSubcycleQuantity());//SimpleFieldAssign//sourceId:102740_1
            retData.setMidCycleType(columnToRowRes_1.getMidCycleType());//SimpleFieldAssign//sourceId:102741_1
            retData.setMidSubcycleQuantity(columnToRowRes_1.getMidSubcycleQuantity());//SimpleFieldAssign//sourceId:102742_1
            retData.setSubcycleType(columnToRowRes_1.getSubcycleType());//SimpleFieldAssign//sourceId:102743_1
            retData.setMonocycleCycleType(columnToRowRes_1.getMonocycleCycleType());//SimpleFieldAssign//sourceId:102744_1
            retData.setEvaluationTemplateTypeCode(columnToRowRes_1.getEvaluationTemplateTypeCode());//SimpleFieldAssign//sourceId:102745_1
            retData.setTargetPlanTempSubtype(columnToRowRes_1.getTargetPlanTempSubtype());//SimpleFieldAssign//sourceId:102746_1
            retData.setPlanningType(columnToRowRes_1.getPlanningType());//SimpleFieldAssign//sourceId:102747_1
            retData.setOpenMidCycle(columnToRowRes_1.getOpenMidCycle());//SimpleFieldAssign//sourceId:102748_1
            retData.setCycleMode(columnToRowRes_1.getCycleMode());//SimpleFieldAssign//sourceId:102749_1
            retData.setIsOpenEvaWork(columnToRowRes_1.getIsOpenEvaWork());//SimpleFieldAssign//sourceId:102758_1
            retData.setFiveYear(columnToRowRes_1.getFiveYear());//SimpleFieldAssign//sourceId:102759_1
            retData.setThreeYear(columnToRowRes_1.getThreeYear());//SimpleFieldAssign//sourceId:102760_1
            retData.setYear(columnToRowRes_1.getYear());//SimpleFieldAssign//sourceId:102761_1
            retData.setHalfYear(columnToRowRes_1.getHalfYear());//SimpleFieldAssign//sourceId:102762_1
            retData.setQuarter(columnToRowRes_1.getQuarter());//SimpleFieldAssign//sourceId:102763_1
            retData.setDoubleMonths(columnToRowRes_1.getDoubleMonths());//SimpleFieldAssign//sourceId:102764_1
            retData.setMonth(columnToRowRes_1.getMonth());//SimpleFieldAssign//sourceId:102765_1
            retData.setOpenCreateBizAppCode(columnToRowRes_1.getOpenCreateBizAppCode());//SimpleFieldAssign//sourceId:102766_1
            retData.setIsOpenPlanSchemeClass(columnToRowRes_1.getIsOpenPlanSchemeClass());//SimpleFieldAssign//sourceId:102767_1
            retData.setCycleSystemCode(columnToRowRes_1.getCycleSystemCode());//SimpleFieldAssign//sourceId:102768_1
            retData.setIsOpenFillWork(columnToRowRes_1.getIsOpenFillWork());//SimpleFieldAssign//sourceId:102769_1
            retData.setPlanSchemeClass(columnToRowRes_1.getPlanSchemeClass());//SimpleFieldAssign//sourceId:102770_1
            retData.setOkrType(columnToRowRes_1.getOkrType());//SimpleFieldAssign//sourceId:113967_1
            retData.setTimeCountReferTime(columnToRowRes_1.getTimeCountReferTime());//SimpleFieldAssign//sourceId:102771_1
            retData.setTimeRulesSetLevel(columnToRowRes_1.getTimeRulesSetLevel());//SimpleFieldAssign//sourceId:102772_1
            retData.setFillTimeRulesCode(columnToRowRes_1.getFillTimeRulesCode());//SimpleFieldAssign//sourceId:102773_1
            retData.setEvaTimeRulesCode(columnToRowRes_1.getEvaTimeRulesCode());//SimpleFieldAssign//sourceId:102774_1
            retData.setLastCycleType(columnToRowRes_1.getLastCycleType());//SimpleFieldAssign//sourceId:160080_1
            retData.setTargetDivRule(columnToRowRes_1.getTargetDivRule());//SimpleFieldAssign//sourceId:230270_1
            retData.setDecimalDigitsLastRules(columnToRowRes_1.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:234663_1
            retData.setTargetValueCountType(columnToRowRes_1.getTargetValueCountType());//SimpleFieldAssign//sourceId:239643_1
            retData.setLogicalOperator(columnToRowRes_1.getLogicalOperator());//SimpleFieldAssign//sourceId:239644_1
            retData.setTargetFullMarkUnit(columnToRowRes_1.getTargetFullMarkUnit());//SimpleFieldAssign//sourceId:322502_1
            retData.setIsSubjectiveScoring(columnToRowRes_1.getIsSubjectiveScoring());//SimpleFieldAssign//sourceId:408839_1
            retData.setIsOpenCustomReport(columnToRowRes_1.getIsOpenCustomReport());//SimpleFieldAssign//sourceId:426475_1
            retData.setConstIsOpenAtuoReport(columnToRowRes_1.getConstIsOpenAtuoReport());//SimpleFieldAssign//sourceId:501184_1
            retData.setConstTaskIsOpenReport(columnToRowRes_1.getConstTaskIsOpenReport());//SimpleFieldAssign//sourceId:501185_1
            retData.setIncreasesDropDecimalPoint(columnToRowRes_1.getIncreasesDropDecimalPoint());//SimpleFieldAssign//sourceId:583416_1
            retData.setIsOpenCreateTaskPlanTime(columnToRowRes_1.getIsOpenCreateTaskPlanTime());//SimpleFieldAssign//sourceId:589649_1
            retData.setSchemeDataPara(columnToRowRes_1.getSchemeDataPara());//SimpleFieldAssign//sourceId:643803_1
            retData.setActualScoreIsOpenLocalLevelScore(columnToRowRes_1.getActualScoreIsOpenLocalLevelScore());//SimpleFieldAssign//sourceId:677009_1
            retData.setActualUfuncType(columnToRowRes_1.getActualUfuncType());//SimpleFieldAssign//sourceId:677444_1
            retData.setIsOpenMidProcess(columnToRowRes_1.getIsOpenMidProcess());//SimpleFieldAssign//sourceId:679474_1
            retData.setIsOkrPlanScene(columnToRowRes_1.getIsOkrPlanScene());//SimpleFieldAssign//sourceId:679602_1
            retData.setReportType(columnToRowRes_1.getReportType());//SimpleFieldAssign//sourceId:686425_1
            retData.setCurSubjectiveScoreWeight(columnToRowRes_1.getCurSubjectiveScoreWeight());//SimpleFieldAssign//sourceId:705290_1
            retData.setProcessSubjectiveScoreWeight(columnToRowRes_1.getProcessSubjectiveScoreWeight());//SimpleFieldAssign//sourceId:705291_1
            retData.setWeightDecimalPoint(columnToRowRes_1.getWeightDecimalPoint());//SimpleFieldAssign//sourceId:705292_1
            retData.setWeightPoint(columnToRowRes_1.getWeightPoint());//SimpleFieldAssign//sourceId:705293_1
            retData.setSubjectiveScoreWeight(columnToRowRes_1.getSubjectiveScoreWeight() != null ? Double.valueOf(columnToRowRes_1.getSubjectiveScoreWeight()) : null);//SimpleFieldAssign//sourceId:705294_1
            retData.setObjectiveScoreWeight(columnToRowRes_1.getObjectiveScoreWeight() != null ? Double.valueOf(columnToRowRes_1.getObjectiveScoreWeight()) : null);//SimpleFieldAssign//sourceId:705295_1
            retData.setProcessReportScoreProMidWeight(columnToRowRes_1.getProcessReportScoreProMidWeight());//SimpleFieldAssign//sourceId:705296_1
            retData.setProcessReportScoreAvgWeight(columnToRowRes_1.getProcessReportScoreAvgWeight());//SimpleFieldAssign//sourceId:705297_1
            retData.setProcessReportScoreKrWeight(columnToRowRes_1.getProcessReportScoreKrWeight());//SimpleFieldAssign//sourceId:705298_1
            retData.setReportScoreProcessWeight(columnToRowRes_1.getReportScoreProcessWeight());//SimpleFieldAssign//sourceId:705299_1
            retData.setReportScoreSubAndObjWeight(columnToRowRes_1.getReportScoreSubAndObjWeight());//SimpleFieldAssign//sourceId:705300_1
            retData.setActualScoreLocalLevelWeight(columnToRowRes_1.getActualScoreLocalLevelWeight());//SimpleFieldAssign//sourceId:705301_1
            retData.setActualScoreLowerLevelWeight(columnToRowRes_1.getActualScoreLowerLevelWeight());//SimpleFieldAssign//sourceId:705302_1
            retData.setProcessReportScoreMidWeight(columnToRowRes_1.getProcessReportScoreMidWeight());//SimpleFieldAssign//sourceId:705303_1
            retData.setSubjectiveRatingTotalValue(columnToRowRes_1.getSubjectiveRatingTotalValue());//SimpleFieldAssign//sourceId:770780_1
            retData.setReportMgtModelMenus(columnToRowRes_1.getReportMgtModelMenus());//SimpleFieldAssign//sourceId:781948_1
            retData.setIsOpenSubReportLimit(columnToRowRes_1.getIsOpenSubReportLimit());//SimpleFieldAssign//sourceId:788354_1
            retData.setIsOpenAudit(columnToRowRes_1.getIsOpenAudit());//SimpleFieldAssign//sourceId:1190121_1
        }


        return retData;
    }

    /**
     * D2-3查询配置选项匹配结果转答案(公共)[3097]
     * gen by moon at 9/6/2022, 10:40:04 PM
     */
    @Trace(operationName = "D2-3查询配置选项匹配结果转答案(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryOptionMatchResultToAnswerDetailComRespDto queryOptionMatchResultToAnswerDetailCom(QueryOptionMatchResultToAnswerDetailComReqDto reqDto) {


        SchemeOptionItemTransitionConfItemToAnswerRespDto rowToColumnRes_1 = null;
//步骤0: 2-3-07查配置项匹配答案列表 - queryConfItemMatchAnswerList
        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult = new ArrayList<>();
        QueryConfItemMatchAnswerListReq queryConfItemMatchAnswerListReq = new QueryConfItemMatchAnswerListReq();
        queryConfItemMatchAnswerListReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:105569_1
        if (reqDto != null) {
            queryConfItemMatchAnswerListReq.setConfItemCode(reqDto.getConfItemCode());//sourceId:105563_1
            queryConfItemMatchAnswerListReq.setResultAspObjType(reqDto.getResultAspObjType());//sourceId:105564_1
            queryConfItemMatchAnswerListReq.setResultAspObjId(reqDto.getResultAspObjId());//sourceId:105565_1
            queryConfItemMatchAnswerListReq.setConfSchemeCode(reqDto.getConfSchemeCode());//sourceId:105566_1
            queryConfItemMatchAnswerListReq.setIsInitialScheme(reqDto.getIsInitialScheme());//sourceId:105574_1
            queryConfItemMatchAnswerListReq.setIsPlatData(reqDto.getIsPlatData());//sourceId:308150_1
        }

        /*2-3-07查配置项匹配答案列表[2506]   */
        Assert.isNull(queryConfItemMatchAnswerListReq.getConfItemCode(), "D2-3查询配置选项匹配结果转答案(公共)-2-3-07查配置项匹配答案列表-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerListReq.getResultAspObjType(), "D2-3查询配置选项匹配结果转答案(公共)-2-3-07查配置项匹配答案列表-答案归属对象类型不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerListReq.getResultAspObjId(), "D2-3查询配置选项匹配结果转答案(公共)-2-3-07查配置项匹配答案列表-答案归属对象ID不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerListReq.getIsPlatData(), "D2-3查询配置选项匹配结果转答案(公共)-2-3-07查配置项匹配答案列表-是否平台数据不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerListReq.getSubjectLifeCycle(), "D2-3查询配置选项匹配结果转答案(公共)-2-3-07查配置项匹配答案列表-主体生命周期不能为空", false);
        listOmsConfSchemeOptionResult = mOmsConfSchemeOptionResultService.queryConfItemMatchAnswerList(queryConfItemMatchAnswerListReq);
        Assert.isTrue(listOmsConfSchemeOptionResult == null || listOmsConfSchemeOptionResult == null || listOmsConfSchemeOptionResult.size() == 0, "返回值不能为空", false);


//步骤1: M2转换配置项转答案(特殊方法） - transitionConfItemToAnswer
        //ModelCode: rowToColumn
        SchemeOptionItemTransitionConfItemToAnswerRespDto rowToColumnRes = null;
        if (listOmsConfSchemeOptionResult != null && listOmsConfSchemeOptionResult.size() > 0) {
            SchemeOptionItemTransitionConfItemToAnswerReqDto rowToColumnReq = new SchemeOptionItemTransitionConfItemToAnswerReqDto();
            rowToColumnReq.setConfSchemeItemResultList(listOmsConfSchemeOptionResult.stream().map(item -> BeanUtil.toBean(item, ConfSchemeItemResultDto.class)).collect(Collectors.toList()));//sourceId:105575_1

            /*M2转换配置项转答案(特殊方法）[3068]  导入变更字段使用，将excel每行数据转换成列 */

            rowToColumnRes = nbConfScheme.schemeOptionItemTransitionConfItemToAnswer(rowToColumnReq);
            Assert.isTrue(rowToColumnRes == null || rowToColumnRes.getConfSchemeId() == null, "返回值不能为空", false);

            rowToColumnRes_1 = rowToColumnRes;
        }

        QueryOptionMatchResultToAnswerDetailComRespDto retData = new QueryOptionMatchResultToAnswerDetailComRespDto();
        if (rowToColumnRes_1 != null) {
            retData.setConfSchemeId(rowToColumnRes_1.getConfSchemeId());//sourceId:105628_1
            retData.setFatherCycleType(rowToColumnRes_1.getFatherCycleType());//sourceId:105629_1
            retData.setCycleType(rowToColumnRes_1.getCycleType());//sourceId:105630_1
            retData.setFatherSubcycleQuantity(rowToColumnRes_1.getFatherSubcycleQuantity());//sourceId:105631_1
            retData.setMidCycleType(rowToColumnRes_1.getMidCycleType());//sourceId:105632_1
            retData.setMidSubcycleQuantity(rowToColumnRes_1.getMidSubcycleQuantity());//sourceId:105633_1
            retData.setSubcycleType(rowToColumnRes_1.getSubcycleType());//sourceId:105634_1
            retData.setMonocycleCycleType(rowToColumnRes_1.getMonocycleCycleType());//sourceId:105635_1
            retData.setEvaluationTemplateTypeCode(rowToColumnRes_1.getEvaluationTemplateTypeCode());//sourceId:105636_1
            retData.setTargetPlanTempSubtype(rowToColumnRes_1.getTargetPlanTempSubtype());//sourceId:105637_1
            retData.setPlanningType(rowToColumnRes_1.getPlanningType());//sourceId:105638_1
            retData.setOpenMidCycle(rowToColumnRes_1.getOpenMidCycle());//sourceId:105639_1
            retData.setCycleMode(rowToColumnRes_1.getCycleMode());//sourceId:105640_1
            retData.setIsOpenEvaWork(rowToColumnRes_1.getIsOpenEvaWork());//sourceId:105649_1
            retData.setFiveYear(rowToColumnRes_1.getFiveYear());//sourceId:105650_1
            retData.setThreeYear(rowToColumnRes_1.getThreeYear());//sourceId:105651_1
            retData.setYear(rowToColumnRes_1.getYear());//sourceId:105652_1
            retData.setHalfYear(rowToColumnRes_1.getHalfYear());//sourceId:105653_1
            retData.setQuarter(rowToColumnRes_1.getQuarter());//sourceId:105654_1
            retData.setDoubleMonths(rowToColumnRes_1.getDoubleMonths());//sourceId:105655_1
            retData.setMonth(rowToColumnRes_1.getMonth());//sourceId:105656_1
            retData.setOpenCreateBizAppCode(rowToColumnRes_1.getOpenCreateBizAppCode());//sourceId:105657_1
            retData.setIsOpenPlanSchemeClass(rowToColumnRes_1.getIsOpenPlanSchemeClass());//sourceId:105658_1
            retData.setCycleSystemCode(rowToColumnRes_1.getCycleSystemCode());//sourceId:105659_1
            retData.setIsOpenFillWork(rowToColumnRes_1.getIsOpenFillWork());//sourceId:105660_1
            retData.setPlanSchemeClass(rowToColumnRes_1.getPlanSchemeClass());//sourceId:105661_1
            retData.setTimeCountReferTime(rowToColumnRes_1.getTimeCountReferTime());//sourceId:105662_1
            retData.setTimeRulesSetLevel(rowToColumnRes_1.getTimeRulesSetLevel());//sourceId:105663_1
            retData.setFillTimeRulesCode(rowToColumnRes_1.getFillTimeRulesCode());//sourceId:105664_1
            retData.setEvaTimeRulesCode(rowToColumnRes_1.getEvaTimeRulesCode());//sourceId:105665_1
            retData.setOrgStructureModel(rowToColumnRes_1.getOrgStructureModel());//sourceId:105666_1
            retData.setIsIntergration(rowToColumnRes_1.getIsIntergration());//sourceId:105667_1
            retData.setIsAllowImport(rowToColumnRes_1.getIsAllowImport());//sourceId:105668_1
            retData.setIsOpenApprovalProcess(rowToColumnRes_1.getIsOpenApprovalProcess());//sourceId:105669_1
            retData.setOpenManyOrg(rowToColumnRes_1.getOpenManyOrg());//sourceId:105670_1
            retData.setHeadCopywriter(rowToColumnRes_1.getHeadCopywriter());//sourceId:105671_1
            retData.setEvaThemeSketch(rowToColumnRes_1.getEvaThemeSketch());//sourceId:105672_1
            retData.setButtonCopywriter(rowToColumnRes_1.getButtonCopywriter());//sourceId:105673_1
            retData.setMediaContentAddress(rowToColumnRes_1.getMediaContentAddress());//sourceId:105674_1
        }


        return retData;
    }

    /**
     * D2-3批量查询选项标识匹配评价模板方案[4315]
     * gen by moon at 9/16/2022, 1:36:39 AM
     */
    @Trace(operationName = "D2-3批量查询选项标识匹配评价模板方案")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public BatchQueryOptionMatchEvaTempConfSchemeRespDto batchQueryOptionMatchEvaTempConfScheme(BatchQueryOptionMatchEvaTempConfSchemeReqDto reqDto) {


        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult_1 = new ArrayList<>();
        List<OmsSchemeOpenRecord> listOmsSchemeOpenRecord_1 = new ArrayList<>();
//步骤0: 2-3-07批量查询选项标识匹配评价模板方案 - batchQueryOptionMatchEvaTempConfScheme
        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult = new ArrayList<>();
        BatchQueryOptionMatchEvaTempConfSchemeReq batchQueryOptionMatchEvaTempConfSchemeReq = new BatchQueryOptionMatchEvaTempConfSchemeReq();
        batchQueryOptionMatchEvaTempConfSchemeReq.setConfItemCode("EVA_SUBJECT_TYPE_CODE");//CUSTOM_CONVENTION//sourceId:285123_1
        batchQueryOptionMatchEvaTempConfSchemeReq.setIsInitialScheme("TRUE");//sourceId:285124_1
        batchQueryOptionMatchEvaTempConfSchemeReq.setIsPlatData("TRUE");//sourceId:285125_1
        batchQueryOptionMatchEvaTempConfSchemeReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:285126_1
        if (reqDto != null) {
            batchQueryOptionMatchEvaTempConfSchemeReq.setConfItemResultList(reqDto.getConfItemResultList());//sourceId:285120_1
        }

        /*2-3-07批量查询选项标识匹配评价模板方案[4313]   */
        Assert.isNull(batchQueryOptionMatchEvaTempConfSchemeReq.getConfItemCode(), "D2-3批量查询选项标识匹配评价模板方案-2-3-07批量查询选项标识匹配评价模板方案-配置项标识不能为空", false);
        Assert.isNull(batchQueryOptionMatchEvaTempConfSchemeReq.getIsInitialScheme(), "D2-3批量查询选项标识匹配评价模板方案-2-3-07批量查询选项标识匹配评价模板方案-是否初始方案答案不能为空", false);
        Assert.isNull(batchQueryOptionMatchEvaTempConfSchemeReq.getIsPlatData(), "D2-3批量查询选项标识匹配评价模板方案-2-3-07批量查询选项标识匹配评价模板方案-是否平台数据不能为空", false);
        Assert.isNull(batchQueryOptionMatchEvaTempConfSchemeReq.getSubjectLifeCycle(), "D2-3批量查询选项标识匹配评价模板方案-2-3-07批量查询选项标识匹配评价模板方案-主体生命周期不能为空", false);
        listOmsConfSchemeOptionResult = mOmsConfSchemeOptionResultService.batchQueryOptionMatchEvaTempConfScheme(batchQueryOptionMatchEvaTempConfSchemeReq);


        listOmsConfSchemeOptionResult_1 = listOmsConfSchemeOptionResult;

//步骤1: 2-3-12批量查询方案开通记录 - batchQuerySchemeOpenRecord
        List<OmsSchemeOpenRecord> listOmsSchemeOpenRecord = new ArrayList<>();
        if (listOmsConfSchemeOptionResult != null && listOmsConfSchemeOptionResult.size() > 0) {
            BatchQuerySchemeOpenRecordReq batchQuerySchemeOpenRecordReq = new BatchQuerySchemeOpenRecordReq();
            batchQuerySchemeOpenRecordReq.setSchemeOpenRecordList(listOmsConfSchemeOptionResult.stream().map(item -> item.getConfSchemeId())
                    .collect(Collectors.toList()));//sourceId:285161_1
            batchQuerySchemeOpenRecordReq.setTenantSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:285162_1
            batchQuerySchemeOpenRecordReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:285163_1

            /*2-3-12批量查询方案开通记录[4317]   */
            Assert.isNull(batchQuerySchemeOpenRecordReq.getTenantSpaceId(), "D2-3批量查询选项标识匹配评价模板方案-2-3-12批量查询方案开通记录-租户空间ID不能为空", false);
            Assert.isNull(batchQuerySchemeOpenRecordReq.getSubjectLifeCycle(), "D2-3批量查询选项标识匹配评价模板方案-2-3-12批量查询方案开通记录-主体生命周期不能为空", false);
            listOmsSchemeOpenRecord = mOmsSchemeOpenRecordService.batchQuerySchemeOpenRecord(batchQuerySchemeOpenRecordReq);


            listOmsSchemeOpenRecord_1 = listOmsSchemeOpenRecord;
        }

        BatchQueryOptionMatchEvaTempConfSchemeRespDto retData = new BatchQueryOptionMatchEvaTempConfSchemeRespDto();
        //数据集融合
        if (listOmsConfSchemeOptionResult_1 != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult_1)) {
            for (OmsConfSchemeOptionResult omsConfSchemeOptionResult : listOmsConfSchemeOptionResult_1) {
                ConfItemResultDto retElm = new ConfItemResultDto();
                retElm.setEndValue(omsConfSchemeOptionResult.getEndValue());//sourceId:91634_2
                retData.getConfItemResultList().add(retElm);
                if (listOmsSchemeOpenRecord_1 != null) {
                    for (OmsSchemeOpenRecord omsSchemeOpenRecord : listOmsSchemeOpenRecord_1) {
                        if (omsSchemeOpenRecord.getConfSchemeId().equals(omsConfSchemeOptionResult.getConfSchemeId())) {
                            retElm.setConfSchemeId(omsSchemeOpenRecord.getConfSchemeId());//sourceId:91632_2
                            retElm.setConfSchemeCode(omsSchemeOpenRecord.getConfSchemeCode());//sourceId:91633_2
                        }
                    }
                }

            }
        }//sourceId:285166_1


        return retData;
    }

    /**
     * D2-3批量查询业务场景过滤配置方案[4336]
     * gen by moon at 9/16/2022, 1:36:41 AM
     */
    @Trace(operationName = "D2-3批量查询业务场景过滤配置方案")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public BatchQueryBizSceneConfSchemeRespDto batchQueryBizSceneConfScheme(BatchQueryBizSceneConfSchemeReqDto reqDto) {


        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult_1 = new ArrayList<>();
//步骤0: 2-3-07批量查询业务场景过滤配置方案 - batchQueryBizSceneConfScheme
        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult = new ArrayList<>();
        BatchQueryBizSceneConfSchemeReq batchQueryBizSceneConfSchemeReq = new BatchQueryBizSceneConfSchemeReq();
        batchQueryBizSceneConfSchemeReq.setConfOptionCode("STRATEGY_PLAN_SCENE");//CUSTOM_CONVENTION//sourceId:286576_1
        batchQueryBizSceneConfSchemeReq.setIsInitialScheme("TRUE");//sourceId:286577_1
        batchQueryBizSceneConfSchemeReq.setIsPlatData("TRUE");//sourceId:286578_1
        batchQueryBizSceneConfSchemeReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:286579_1
        if (reqDto != null) {
            batchQueryBizSceneConfSchemeReq.setBizSceneConfSchemeList(reqDto.getBizSceneConfSchemeList());//sourceId:286575_1
        }

        /*2-3-07批量查询业务场景过滤配置方案[4337]   */
        Assert.isNull(batchQueryBizSceneConfSchemeReq.getConfOptionCode(), "D2-3批量查询业务场景过滤配置方案-2-3-07批量查询业务场景过滤配置方案-选项标识不能为空", false);
        Assert.isNull(batchQueryBizSceneConfSchemeReq.getIsInitialScheme(), "D2-3批量查询业务场景过滤配置方案-2-3-07批量查询业务场景过滤配置方案-是否初始方案答案不能为空", false);
        Assert.isNull(batchQueryBizSceneConfSchemeReq.getIsPlatData(), "D2-3批量查询业务场景过滤配置方案-2-3-07批量查询业务场景过滤配置方案-是否平台数据不能为空", false);
        Assert.isNull(batchQueryBizSceneConfSchemeReq.getSubjectLifeCycle(), "D2-3批量查询业务场景过滤配置方案-2-3-07批量查询业务场景过滤配置方案-主体生命周期不能为空", false);
        listOmsConfSchemeOptionResult = mOmsConfSchemeOptionResultService.batchQueryBizSceneConfScheme(batchQueryBizSceneConfSchemeReq);


        listOmsConfSchemeOptionResult_1 = listOmsConfSchemeOptionResult;

        BatchQueryBizSceneConfSchemeRespDto retData = new BatchQueryBizSceneConfSchemeRespDto();
        retData.setBizSceneConfSchemeList(listOmsConfSchemeOptionResult_1.stream().map(item -> BeanUtil.toBean(item, BizSceneConfSchemeDto.class)).collect(Collectors.toList()));//sourceId:286601_1


        return retData;
    }

    /**
     * D2-3查询配置方案详情(公共)[1981]
     * gen by moon at 11/27/2022, 9:17:34 PM
     */
    @Trace(operationName = "D2-3查询配置方案详情(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryConfSchemeDetailComRespDto queryConfSchemeDetailCom(QueryConfSchemeDetailComReqDto reqDto) {


        OmsConfScheme omsConfScheme_1 = null;
//步骤0: 2-3-04查询配置方案详情 - queryConfSchemeDetail
        OmsConfScheme omsConfScheme = null;
        QueryConfSchemeDetailReq queryConfSchemeDetailReq = new QueryConfSchemeDetailReq();
        if (reqDto != null) {
            queryConfSchemeDetailReq.setConfSchemeId(reqDto.getConfSchemeId());//SimpleFieldAssign//sourceId:58575_1
            queryConfSchemeDetailReq.setConfSchemeCode(reqDto.getConfSchemeCode());//SimpleFieldAssign//sourceId:58596_1
            queryConfSchemeDetailReq.setIsArchive(reqDto.getIsArchive());//SimpleFieldAssign//sourceId:104092_1
            queryConfSchemeDetailReq.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:461232_1
        }

        /*2-3-04查询配置方案详情[1923]   */

        omsConfScheme = mOmsConfSchemeService.queryConfSchemeDetail(queryConfSchemeDetailReq);


        omsConfScheme_1 = omsConfScheme;

        QueryConfSchemeDetailComRespDto retData = new QueryConfSchemeDetailComRespDto();
        if (omsConfScheme_1 != null) {
            retData.setConfSchemeId(omsConfScheme_1.getConfSchemeId());//SimpleFieldAssign//sourceId:58599_1
            retData.setConfSchemeCode(omsConfScheme_1.getConfSchemeCode());//SimpleFieldAssign//sourceId:58600_1
            retData.setConfSchemeName(omsConfScheme_1.getConfSchemeName());//SimpleFieldAssign//sourceId:58602_1
            retData.setConfSchemeDes(omsConfScheme_1.getConfSchemeDes());//SimpleFieldAssign//sourceId:58603_1
            retData.setAuthType(omsConfScheme_1.getAuthType());//SimpleFieldAssign//sourceId:79434_1
            retData.setAuthUnit(omsConfScheme_1.getAuthUnit());//SimpleFieldAssign//sourceId:62990_1
            retData.setAuthorizationNum(omsConfScheme_1.getAuthorizationNum());//SimpleFieldAssign//sourceId:62991_1
            retData.setBizSceneCode(omsConfScheme_1.getBizSceneCode());//SimpleFieldAssign//sourceId:104091_1
            retData.setApplObjType(omsConfScheme_1.getApplObjType());//SimpleFieldAssign//sourceId:58604_1
            retData.setConfSchemeTypeCode(omsConfScheme_1.getConfSchemeTypeCode());//SimpleFieldAssign//sourceId:58606_1
            retData.setIsInitialScheme(omsConfScheme_1.getIsInitialScheme());//SimpleFieldAssign//sourceId:58607_1
            retData.setIsCustom(omsConfScheme_1.getIsCustom());//SimpleFieldAssign//sourceId:58608_1
            retData.setIsOpenCustomConf(omsConfScheme_1.getIsOpenCustomConf());//SimpleFieldAssign//sourceId:58609_1
            retData.setSubjectLifeCycle(omsConfScheme_1.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:58610_1
            retData.setOperationInductionId(omsConfScheme_1.getOperationInductionId());//SimpleFieldAssign//sourceId:58612_1
            retData.setOperateTime(omsConfScheme_1.getOperateTime());//SimpleFieldAssign//sourceId:58613_1
        }


        return retData;
    }

    /**
     * D2-3查询过滤已开通方案列表(公共)[2114]
     * gen by moon at 11/28/2022, 2:53:19 AM
     */
    @Trace(operationName = "D2-3查询过滤已开通方案列表(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryFilterSchemeOpenListComRespDto queryFilterSchemeOpenListCom(QueryFilterSchemeOpenListComReqDto reqDto) {


        CheckFilterSchemeOpenRespDto collectionRemoveExistingDataRes_1 = null;
//步骤0: 2-3-04查询配置方案列表 - queryConfSchemeList
        List<OmsConfScheme> listOmsConfScheme = new ArrayList<>();
        QueryConfSchemeListReq queryConfSchemeListReq = new QueryConfSchemeListReq();
        queryConfSchemeListReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:61208_1
        if (reqDto != null) {
            queryConfSchemeListReq.setConfSchemeName(reqDto.getConfSchemeName());//SimpleFieldAssign//sourceId:61211_1
            queryConfSchemeListReq.setConfSchemeTypeCode(reqDto.getConfSchemeTypeCode());//SimpleFieldAssign//sourceId:61204_1
            queryConfSchemeListReq.setApplObjType(reqDto.getApplObjType());//SimpleFieldAssign//sourceId:61202_1
            queryConfSchemeListReq.setIsInitialScheme(reqDto.getIsInitialScheme());//SimpleFieldAssign//sourceId:61205_1
        }

        /*2-3-04查询配置方案列表[1924]   */
        Assert.isNull(queryConfSchemeListReq.getSubjectLifeCycle(), "D2-3查询过滤已开通方案列表(公共)-2-3-04查询配置方案列表-生命周期状态不能为空", false);
        listOmsConfScheme = mOmsConfSchemeService.queryConfSchemeList(queryConfSchemeListReq);


//步骤1: 2-3-12查询方案开通记录列表 - querySchemeOpenRecordList
        List<OmsSchemeOpenRecord> listOmsSchemeOpenRecord = new ArrayList<>();
        QuerySchemeOpenRecordListReq querySchemeOpenRecordListReq = new QuerySchemeOpenRecordListReq();
        querySchemeOpenRecordListReq.setIsArchive("FALSE");//sourceId:61219_1
        if (reqDto != null) {
            querySchemeOpenRecordListReq.setTenantSpaceId(reqDto.getTenantSpaceId());//SimpleFieldAssign//sourceId:61217_1
        }

        /*2-3-12查询方案开通记录列表[1955]   */
        Assert.isNull(querySchemeOpenRecordListReq.getTenantSpaceId(), "D2-3查询过滤已开通方案列表(公共)-2-3-12查询方案开通记录列表-租户空间ID不能为空", false);
        Assert.isNull(querySchemeOpenRecordListReq.getIsArchive(), "D2-3查询过滤已开通方案列表(公共)-2-3-12查询方案开通记录列表-是否存档不能为空", false);
        listOmsSchemeOpenRecord = mOmsSchemeOpenRecordService.querySchemeOpenRecordList(querySchemeOpenRecordListReq);


//步骤2: M-过滤已开通方案(特殊方法） - checkFilterSchemeOpen
        //ModelCode: collectionRemoveExistingData
        CheckFilterSchemeOpenRespDto collectionRemoveExistingDataRes = null;
        if (listOmsConfScheme != null && !CollectionUtil.isEmpty(listOmsConfScheme) && listOmsConfScheme.size() > 0) {
            CheckFilterSchemeOpenReqDto collectionRemoveExistingDataReq = new CheckFilterSchemeOpenReqDto();
            collectionRemoveExistingDataReq.setSchemeOpenRecordList(listOmsSchemeOpenRecord.stream().map(item -> item.getConfSchemeId())
                    .collect(Collectors.toList()));/*list-to-strings*///sourceId:61225_1
            if (listOmsConfScheme != null && !CollectionUtil.isEmpty(listOmsConfScheme) && listOmsConfScheme != null && !CollectionUtil.isEmpty(listOmsConfScheme)) {
                collectionRemoveExistingDataReq.setConfSchemeList(listOmsConfScheme.stream().map(item -> {
                    ConfSchemeDto elm = BeanUtil.toBean(item, ConfSchemeDto.class);
                    //elm.setConfSchemeId();//EXIST_ID  TODO ruizhe dong

                    return elm;
                }).collect(Collectors.toList()));//objList-to-objLists//sourceId:61224_1
            }

            /*M-过滤已开通方案(特殊方法）[2115]  入参两个数据集，通过已存在标识字段匹配，去除第一个数据集中已存在的第二个数据集的数据 */

            collectionRemoveExistingDataRes = nbConfScheme.checkFilterSchemeOpen(collectionRemoveExistingDataReq);


            collectionRemoveExistingDataRes_1 = collectionRemoveExistingDataRes;
        }

        QueryFilterSchemeOpenListComRespDto retData = new QueryFilterSchemeOpenListComRespDto();
        if (collectionRemoveExistingDataRes_1 != null) {
            retData.setConfSchemeList(collectionRemoveExistingDataRes_1.getConfSchemeList().stream().map(item -> BeanUtil.toBean(item, ConfSchemeDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:61232_1
        }


        return retData;
    }

    /**
     * D2-3批量查询主题下启用的配置方案[4315]
     * gen by moon at 10/1/2022, 11:40:08 PM
     */
    @Trace(operationName = "D2-3批量查询主题下启用的配置方案")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public BatchQueryConfSchemeRespDto batchQueryConfScheme(BatchQueryConfSchemeReqDto reqDto) {


        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult_1 = new ArrayList<>();
//步骤0: 2-3-03批量查询配置方案答案 - batchQueryConfScheme
        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult = new ArrayList<>();
        BatchQueryConfSchemeReq batchQueryConfSchemeReq = new BatchQueryConfSchemeReq();
        batchQueryConfSchemeReq.setResultAspObjType("EVA_THEME");//sourceId:333464_1
        batchQueryConfSchemeReq.setIsPlatData("FALSE");//sourceId:333457_1
        batchQueryConfSchemeReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:333459_1
        if (reqDto != null) {
            //list-field-assign
            batchQueryConfSchemeReq.setConfItemResultList(reqDto.getConfItemResultList());//sourceId:333454_1
            batchQueryConfSchemeReq.setConfItemCode(reqDto.getConfItemCode());//SimpleFieldAssign//sourceId:333458_1
        }

        /*2-3-03批量查询配置方案答案[4583]   */
        Assert.isNull(batchQueryConfSchemeReq.getResultAspObjType(), "D2-3批量查询主题下启用的配置方案-2-3-03批量查询配置方案答案-答案归属对象类型不能为空", false);
        Assert.isNull(batchQueryConfSchemeReq.getConfItemCode(), "D2-3批量查询主题下启用的配置方案-2-3-03批量查询配置方案答案-配置项标识不能为空", false);
        Assert.isNull(batchQueryConfSchemeReq.getIsPlatData(), "D2-3批量查询主题下启用的配置方案-2-3-03批量查询配置方案答案-是否平台数据不能为空", false);
        Assert.isNull(batchQueryConfSchemeReq.getSubjectLifeCycle(), "D2-3批量查询主题下启用的配置方案-2-3-03批量查询配置方案答案-主体生命周期不能为空", false);
        listOmsConfSchemeOptionResult = mOmsConfSchemeOptionResultService.batchQueryConfScheme(batchQueryConfSchemeReq);


        listOmsConfSchemeOptionResult_1 = listOmsConfSchemeOptionResult;

        BatchQueryConfSchemeRespDto retData = new BatchQueryConfSchemeRespDto();
        retData.setConfSchemeCodeList(listOmsConfSchemeOptionResult_1.stream().map(item -> BeanUtil.toBean(item, ConfSchemeCodeDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:333467_1


        return retData;
    }

    /**
     * D2-3查询文档类型配置答案详情(公共)[2458]
     * gen by moon at 3/27/2024, 12:59:54 AM
     */
    @Trace(operationName = "D2-3查询文档类型配置答案详情(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryDocumentTypeAnswerDetailComRespDto queryDocumentTypeAnswerDetailCom(QueryDocumentTypeAnswerDetailComReqDto reqDto) {


        OmsConfSchemeOptionResult omsConfSchemeOptionResult_1 = null;
//步骤0: 2-3-07查询方案下选项配置结果详情 - queryConfItemResultDetail
        OmsConfSchemeOptionResult omsConfSchemeOptionResult = null;
        QueryConfItemResultDetailReq queryConfItemResultDetailReq = new QueryConfItemResultDetailReq();
        if (reqDto != null) {
            queryConfItemResultDetailReq.setConfItemCode(reqDto.getConfItemCode());//SimpleFieldAssign//sourceId:125376_1
            queryConfItemResultDetailReq.setResultAspObjId(reqDto.getResultAspObjId());//SimpleFieldAssign//sourceId:125381_1
            queryConfItemResultDetailReq.setResultAspObjType(reqDto.getResultAspObjType());//SimpleFieldAssign//sourceId:125380_1
            queryConfItemResultDetailReq.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:125362_1
        }

        /*2-3-07查询方案下选项配置结果详情[1939]   */
        Assert.isNull(queryConfItemResultDetailReq.getConfItemCode(), "D2-3查询文档类型配置答案详情(公共)-2-3-07查询方案下选项配置结果详情-配置项标识不能为空", false);
        Assert.isNull(queryConfItemResultDetailReq.getResultAspObjId(), "D2-3查询文档类型配置答案详情(公共)-2-3-07查询方案下选项配置结果详情-开通对象ID不能为空", false);
        Assert.isNull(queryConfItemResultDetailReq.getResultAspObjType(), "D2-3查询文档类型配置答案详情(公共)-2-3-07查询方案下选项配置结果详情-开通对象类型编码不能为空", false);
        Assert.isNull(queryConfItemResultDetailReq.getSubjectLifeCycle(), "D2-3查询文档类型配置答案详情(公共)-2-3-07查询方案下选项配置结果详情-主体生命周期不能为空", false);
        omsConfSchemeOptionResult = mOmsConfSchemeOptionResultService.queryConfItemResultDetail(queryConfItemResultDetailReq)/*vcase invoke 本地 method 方法调用;*/;


        omsConfSchemeOptionResult_1 = omsConfSchemeOptionResult;

        QueryDocumentTypeAnswerDetailComRespDto retData = new QueryDocumentTypeAnswerDetailComRespDto();
        if (omsConfSchemeOptionResult_1 != null) {
            retData.setOptionResultId(omsConfSchemeOptionResult_1.getOptionResultId());//SimpleFieldAssign//sourceId:125400_1
            retData.setEndValue(omsConfSchemeOptionResult_1.getEndValue());//SimpleFieldAssign//sourceId:125401_1
            retData.setExtensionField1(omsConfSchemeOptionResult_1.getExtensionField1());//SimpleFieldAssign//sourceId:125402_1
            retData.setExtensionField2(omsConfSchemeOptionResult_1.getExtensionField2());//SimpleFieldAssign//sourceId:125403_1
        }


        return retData;
    }

    /**
     * D2-判断配置方案可用情况(公共)[4684]
     * gen by moon at 10/10/2022, 9:53:38 PM
     */
    @Trace(operationName = "D2-判断配置方案可用情况(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @BanAuto
    @Override
    public JudgeConfSchemeUsableCaseComRespDto judgeConfSchemeUsableCaseCom(JudgeConfSchemeUsableCaseComReqDto reqDto) {


//      Long unknown_1 = null;
////步骤0: M2-判断配置方案可用情况 - judgeConfSchemeUsableCase
//     Long unknown = null;
//    Object judgeConfSchemeUsableCaseReq=new Object();
//  if(reqDto!=null){
//      judgeConfSchemeUsableCaseReq.setOutputNum(reqDto.getOutputNum());//SimpleFieldAssign//sourceId:341519_1
//judgeConfSchemeUsableCaseReq.setEndValue(reqDto.getEndValue());//SimpleFieldAssign//sourceId:341520_1
//    }
//
//    /*M2-判断配置方案可用情况[4685]   */
//
//      unknown = mCustomFieldsService.judgeConfSchemeUsableCase(judgeConfSchemeUsableCaseReq);
//
//
//      unknown_1 = unknown;

        JudgeConfSchemeUsableCaseComRespDto retData = new JudgeConfSchemeUsableCaseComRespDto();
//  if(unknown_1!=null){
//      retData.setOutputNum(unknown_1.getOutputNum());//SimpleFieldAssign//sourceId:341512_1
//retData.setEndValue(unknown_1.getEndValue());//SimpleFieldAssign//sourceId:341513_1
//    }


        return retData;
    }

    /**
     * D2-3查询主题下启用的模板方案列表[4822]
     * gen by moon at 10/9/2022, 11:41:16 PM
     */
    @Trace(operationName = "D2-3查询主题下启用的模板方案列表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryThemeOpenEvaTempSchemeListRespDto queryThemeOpenEvaTempSchemeList(QueryThemeOpenEvaTempSchemeListReqDto reqDto) {


        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult_1 = new ArrayList<>();
        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult_3 = new ArrayList<>();
//virtualUsage 2-3-07查主题是否允许切换方案答案  19168
        OmsConfSchemeOptionResult omsConfSchemeOptionResult = null;
        QueryConfItemMatchAnswerDetailReq queryConfItemMatchAnswerDetailReq = new QueryConfItemMatchAnswerDetailReq();
        queryConfItemMatchAnswerDetailReq.setResultAspObjType("EVA_THEME");//sourceId:374360_1_19168
        queryConfItemMatchAnswerDetailReq.setIsPlatData("FALSE");//sourceId:374363_1_19168
        queryConfItemMatchAnswerDetailReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:374365_1_19168
        if (reqDto != null) {
            queryConfItemMatchAnswerDetailReq.setResultAspObjId(reqDto.getEvaThemeId());//SimpleFieldAssign//sourceId:374361_1_19168
            queryConfItemMatchAnswerDetailReq.setConfItemCode(reqDto.getTempSchemeIsAllowCutConfItemCode());//SimpleFieldAssign//sourceId:374359_1_19168
        }

        /*2-3-07查主题是否允许切换方案答案[2487]   */
        Assert.isNull(queryConfItemMatchAnswerDetailReq.getResultAspObjId(), "D2-3查询主题下启用的模板方案列表-2-3-07查主题是否允许切换方案答案-答案归属对象ID不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailReq.getResultAspObjType(), "D2-3查询主题下启用的模板方案列表-2-3-07查主题是否允许切换方案答案-答案归属对象类型不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailReq.getConfItemCode(), "D2-3查询主题下启用的模板方案列表-2-3-07查主题是否允许切换方案答案-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailReq.getIsPlatData(), "D2-3查询主题下启用的模板方案列表-2-3-07查主题是否允许切换方案答案-是否平台数据不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailReq.getSubjectLifeCycle(), "D2-3查询主题下启用的模板方案列表-2-3-07查主题是否允许切换方案答案-主体生命周期不能为空", false);
        omsConfSchemeOptionResult = mOmsConfSchemeOptionResultService.queryConfItemMatchAnswerDetail(queryConfItemMatchAnswerDetailReq);


        if ((omsConfSchemeOptionResult != null && omsConfSchemeOptionResult.getEndValue() != null && omsConfSchemeOptionResult.getEndValue().equals("TRUE"))) {
            //if(2-3-07查主题是否允许切换方案答案.答案值 等于 是)  19169

            List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult = new ArrayList<>();
            QueryConfItemResultListReq queryConfItemResultListReq = new QueryConfItemResultListReq();
            queryConfItemResultListReq.setResultAspObjType("EVA_THEME");//sourceId:374331_1_19170
            queryConfItemResultListReq.setIsPlatData("FALSE");//sourceId:374333_1_19170
            queryConfItemResultListReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:374334_1_19170
            if (reqDto != null) {
                queryConfItemResultListReq.setResultAspObjId(reqDto.getEvaThemeId());//SimpleFieldAssign//sourceId:374330_1_19170
                queryConfItemResultListReq.setConfItemCode(reqDto.getEnableTempSchemeConfItemCode());//SimpleFieldAssign//sourceId:374332_1_19170
            }

            /*2-3-07查询主题下启用的模板方案列表[1940]   */
            Assert.isNull(queryConfItemResultListReq.getResultAspObjId(), "D2-3查询主题下启用的模板方案列表-2-3-07查询主题下启用的模板方案列表-答案归属对象ID不能为空", false);
            Assert.isNull(queryConfItemResultListReq.getResultAspObjType(), "D2-3查询主题下启用的模板方案列表-2-3-07查询主题下启用的模板方案列表-答案归属对象类型不能为空", false);
            Assert.isNull(queryConfItemResultListReq.getConfItemCode(), "D2-3查询主题下启用的模板方案列表-2-3-07查询主题下启用的模板方案列表-配置项标识不能为空", false);
            Assert.isNull(queryConfItemResultListReq.getIsPlatData(), "D2-3查询主题下启用的模板方案列表-2-3-07查询主题下启用的模板方案列表-是否平台数据不能为空", false);
            Assert.isNull(queryConfItemResultListReq.getSubjectLifeCycle(), "D2-3查询主题下启用的模板方案列表-2-3-07查询主题下启用的模板方案列表-主体生命周期不能为空", false);
            listOmsConfSchemeOptionResult = mOmsConfSchemeOptionResultService.queryConfItemResultList(queryConfItemResultListReq);


            listOmsConfSchemeOptionResult_1 = listOmsConfSchemeOptionResult;
//processBranchName:正常结束 ,processBranchId:19171

        } else if ((omsConfSchemeOptionResult != null && omsConfSchemeOptionResult.getEndValue() != null && omsConfSchemeOptionResult.getEndValue().equals("FALSE"))) {
            //elseif(2-3-07查主题是否允许切换方案答案.答案值 等于 否)  19172

            List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult_2 = new ArrayList<>();
            QueryConfItemMatchAnswerListReq queryConfItemMatchAnswerListReq = new QueryConfItemMatchAnswerListReq();
            queryConfItemMatchAnswerListReq.setResultAspObjType("EVA_THEME");//sourceId:374354_1_19173
            queryConfItemMatchAnswerListReq.setIsPlatData("FALSE");//sourceId:374356_1_19173
            queryConfItemMatchAnswerListReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:374357_1_19173
            if (reqDto != null) {
                queryConfItemMatchAnswerListReq.setResultAspObjId(reqDto.getEvaThemeId());//SimpleFieldAssign//sourceId:374355_1_19173
                queryConfItemMatchAnswerListReq.setConfItemCode(reqDto.getDefaultTempSchemeConfItemCode());//SimpleFieldAssign//sourceId:374353_1_19173
            }

            /*2-3-07查主题下默认模板配置方案列表[2506]   */
            Assert.isNull(queryConfItemMatchAnswerListReq.getResultAspObjId(), "D2-3查询主题下启用的模板方案列表-2-3-07查主题下默认模板配置方案列表-答案归属对象ID不能为空", false);
            Assert.isNull(queryConfItemMatchAnswerListReq.getResultAspObjType(), "D2-3查询主题下启用的模板方案列表-2-3-07查主题下默认模板配置方案列表-答案归属对象类型不能为空", false);
            Assert.isNull(queryConfItemMatchAnswerListReq.getConfItemCode(), "D2-3查询主题下启用的模板方案列表-2-3-07查主题下默认模板配置方案列表-配置项标识不能为空", false);
            Assert.isNull(queryConfItemMatchAnswerListReq.getIsPlatData(), "D2-3查询主题下启用的模板方案列表-2-3-07查主题下默认模板配置方案列表-是否平台数据不能为空", false);
            Assert.isNull(queryConfItemMatchAnswerListReq.getSubjectLifeCycle(), "D2-3查询主题下启用的模板方案列表-2-3-07查主题下默认模板配置方案列表-主体生命周期不能为空", false);
            listOmsConfSchemeOptionResult_2 = mOmsConfSchemeOptionResultService.queryConfItemMatchAnswerList(queryConfItemMatchAnswerListReq);


            listOmsConfSchemeOptionResult_3 = listOmsConfSchemeOptionResult_2;
//processBranchName:正常结束 ,processBranchId:19174

        }
        QueryThemeOpenEvaTempSchemeListRespDto retData = new QueryThemeOpenEvaTempSchemeListRespDto();
        if (listOmsConfSchemeOptionResult_1 != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult_1) && listOmsConfSchemeOptionResult_1 != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult_1)) {
            retData.setConfItemMatchEvaThemeAnswerList(listOmsConfSchemeOptionResult_1.stream().map(item -> BeanUtil.toBean(item, ConfItemMatchEvaThemeAnswerDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:374382_1
        }
        if (listOmsConfSchemeOptionResult_3 != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult_3) && listOmsConfSchemeOptionResult_3 != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult_3)) {
            retData.setConfItemMatchEvaThemeAnswerList(//objList-to-objLists
                    listOmsConfSchemeOptionResult_3.stream().map(item -> {
                        ConfItemMatchEvaThemeAnswerDto elm = new ConfItemMatchEvaThemeAnswerDto();
                        elm.setOptionResultId(item.getOptionResultId());//SimpleFieldAssign//sourceId:106484_2
                        elm.setOptionResultId(item.getOptionResultId());//SimpleFieldAssign//sourceId:106484_2
                        elm.setEndValue(item.getEndValue());//SimpleFieldAssign//sourceId:106485_2
                        elm.setConfOptionSortNum(item.getConfOptionSortNum());//SimpleFieldAssign//sourceId:106487_2
                        elm.setConfOptionSortNum(item.getConfOptionSortNum());//SimpleFieldAssign//sourceId:106487_2
                        return elm;
                    }).collect(Collectors.toList()));//objList-to-objLists//sourceId:374382_1
        }


        return retData;
    }

    /**
     * D2-3批量查询配置方案列表ByCodes[4823]
     * gen by moon at 10/9/2022, 11:41:28 PM
     */
    @Trace(operationName = "D2-3批量查询配置方案列表ByCodes")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public BatchQueryConfSchemeListByCodesRespDto batchQueryConfSchemeListByCodes(BatchQueryConfSchemeListByCodesReqDto reqDto) {


        List<OmsConfScheme> listOmsConfScheme_1 = new ArrayList<>();
//步骤0: 2-3-06批量查询配置方案列表ByCodes - batchQueryConfSchemeListByCodes
        List<OmsConfScheme> listOmsConfScheme = new ArrayList<>();
        BatchQueryConfSchemeListByCodesReq batchQueryConfSchemeListByCodesReq = new BatchQueryConfSchemeListByCodesReq();
        //list-field-assign
        batchQueryConfSchemeListByCodesReq.setConfSchemeList(reqDto.getConfSchemeList());//sourceId:374402_1
        batchQueryConfSchemeListByCodesReq.setIsArchive("FALSE");//sourceId:374403_1

        /*2-3-06批量查询配置方案列表ByCodes[4824]   */
        Assert.isNull(batchQueryConfSchemeListByCodesReq.getIsArchive(), "D2-3批量查询配置方案列表ByCodes-2-3-06批量查询配置方案列表ByCodes-是否存档不能为空", false);
        listOmsConfScheme = mOmsConfSchemeService.batchQueryConfSchemeListByCodes(batchQueryConfSchemeListByCodesReq);


        listOmsConfScheme_1 = listOmsConfScheme;

        BatchQueryConfSchemeListByCodesRespDto retData = new BatchQueryConfSchemeListByCodesRespDto();
        retData.setConfSchemeList(listOmsConfScheme_1.stream().map(item -> BeanUtil.toBean(item, ConfSchemeDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:374406_1


        return retData;
    }

    /**
     * D2-3查询评价模板相关配置答案列表(公共)[4847]
     * gen by moon at 10/26/2022, 12:18:48 AM
     */
    @Trace(operationName = "D2-3查询评价模板相关配置答案列表(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryEvaTempRetConfResultListComRespDto queryEvaTempRetConfResultListCom(QueryEvaTempRetConfResultListComReqDto reqDto) {


        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult_1 = new ArrayList<>();
//步骤0: 2-3-07查询方案下选项配置结果列表 - queryConfItemResultList
        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult = new ArrayList<>();
        QueryConfItemResultListReq queryConfItemResultListReq = new QueryConfItemResultListReq();
        if (reqDto != null) {
            queryConfItemResultListReq.setResultAspObjId(reqDto.getResultAspObjId());//SimpleFieldAssign//sourceId:378885_1
            queryConfItemResultListReq.setResultAspObjType(reqDto.getResultAspObjType());//SimpleFieldAssign//sourceId:378886_1
            queryConfItemResultListReq.setIsPlatData(reqDto.getIsPlatData());//SimpleFieldAssign//sourceId:378887_1
        }

        /*2-3-07查询方案下选项配置结果列表[1940]   */

        listOmsConfSchemeOptionResult = mOmsConfSchemeOptionResultService.queryConfItemResultList(queryConfItemResultListReq);


        listOmsConfSchemeOptionResult_1 = listOmsConfSchemeOptionResult;

        QueryEvaTempRetConfResultListComRespDto retData = new QueryEvaTempRetConfResultListComRespDto();
        retData.setConfItemResultList(listOmsConfSchemeOptionResult_1.stream().map(item -> item.getOptionResultId())
                .collect(Collectors.toList()));/*list-to-strings*///sourceId:378892_1


        return retData;
    }

    /**
     * D2-3配置项匹配多选结果转答案(公共)[5196]
     * gen by moon at 12/8/2024, 3:22:11 AM
     */
    @Trace(operationName = "D2-3配置项匹配多选结果转答案(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryItemMatchMultiSelectResultToAnswerListComRespDto queryItemMatchMultiSelectResultToAnswerListCom(QueryItemMatchMultiSelectResultToAnswerListComReqDto reqDto) {


        ImplementMultitermOptionCodeTransitionMultirowResultRespDto multiColumnToMultiRowRes_1 = null;
//步骤0: 2-3-07查配置项匹配答案列表 - queryConfItemMatchAnswerList
        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult = new ArrayList<>();
        QueryConfItemMatchAnswerListReq queryConfItemMatchAnswerListReq = new QueryConfItemMatchAnswerListReq();
        queryConfItemMatchAnswerListReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:436506_1
        if (reqDto != null) {
            queryConfItemMatchAnswerListReq.setResultAspObjId(reqDto.getResultAspObjId());//SimpleFieldAssign//sourceId:436502_1
            queryConfItemMatchAnswerListReq.setAuthorizationKeyTypeCode(reqDto.getAuthorizationKeyTypeCode());//SimpleFieldAssign//sourceId:1123060_1
            queryConfItemMatchAnswerListReq.setResultAspObjType(reqDto.getResultAspObjType());//SimpleFieldAssign//sourceId:436501_1
            queryConfItemMatchAnswerListReq.setConfOptionCode(reqDto.getConfOptionCode());//SimpleFieldAssign//sourceId:1123059_1
            queryConfItemMatchAnswerListReq.setConfItemCode(reqDto.getConfItemCode());//SimpleFieldAssign//sourceId:436500_1
            queryConfItemMatchAnswerListReq.setIsPlatData(reqDto.getIsPlatData());//SimpleFieldAssign//sourceId:436518_1
        }

        /*2-3-07查配置项匹配答案列表[2506]   */
        Assert.isNull(queryConfItemMatchAnswerListReq.getResultAspObjId(), "D2-3配置项匹配多选结果转答案(公共)-2-3-07查配置项匹配答案列表-开通对象ID不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerListReq.getIsPlatData(), "D2-3配置项匹配多选结果转答案(公共)-2-3-07查配置项匹配答案列表-是否标准答案不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerListReq.getSubjectLifeCycle(), "D2-3配置项匹配多选结果转答案(公共)-2-3-07查配置项匹配答案列表-主体生命周期不能为空", false);
        listOmsConfSchemeOptionResult = mOmsConfSchemeOptionResultService.queryConfItemMatchAnswerList(queryConfItemMatchAnswerListReq)/*vcase invoke 本地 method 方法调用;*/;


//步骤1: M2-执行多列选项标识转多行答案（特殊方法） - implementMultitermOptionCodeTransitionMultirowResult
        //ModelCode: multiColumnToMultiRow
        ImplementMultitermOptionCodeTransitionMultirowResultRespDto multiColumnToMultiRowRes = null;
        if (listOmsConfSchemeOptionResult != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult) && listOmsConfSchemeOptionResult.size() > 0) {
            ImplementMultitermOptionCodeTransitionMultirowResultReqDto multiColumnToMultiRowReq = new ImplementMultitermOptionCodeTransitionMultirowResultReqDto();
            if (listOmsConfSchemeOptionResult != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult) && listOmsConfSchemeOptionResult != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult)) {
                multiColumnToMultiRowReq.setMultitermOptionCodeTransitionMultirowResultList(listOmsConfSchemeOptionResult.stream().map(item -> BeanUtil.toBean(item, MultitermOptionCodeTransitionMultirowResultDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:436526_1
            }

            /*M2-执行多列选项标识转多行答案（特殊方法）[5197]   */

            multiColumnToMultiRowRes = nbConfScheme.implementMultitermOptionCodeTransitionMultirowResult(multiColumnToMultiRowReq);


            multiColumnToMultiRowRes_1 = multiColumnToMultiRowRes;
        }

        QueryItemMatchMultiSelectResultToAnswerListComRespDto retData = new QueryItemMatchMultiSelectResultToAnswerListComRespDto();
        if (multiColumnToMultiRowRes_1 != null) {
            retData.setFirstBatchIssueAllowOperate(multiColumnToMultiRowRes_1.getFirstBatchIssueAllowOperate());//SimpleFieldAssign//sourceId:436601_1
            retData.setSuccessorBatchIssueBeforeAllowOperate(multiColumnToMultiRowRes_1.getSuccessorBatchIssueBeforeAllowOperate());//SimpleFieldAssign//sourceId:436602_1
            retData.setSuccessorBatchIssueBeforeNotAllowOperate(multiColumnToMultiRowRes_1.getSuccessorBatchIssueBeforeNotAllowOperate());//SimpleFieldAssign//sourceId:436603_1
            retData.setSuccessorBatchIssueAllowOperate(multiColumnToMultiRowRes_1.getSuccessorBatchIssueAllowOperate());//SimpleFieldAssign//sourceId:436604_1
            retData.setSuccessorBatchIssueNotAllowOperate(multiColumnToMultiRowRes_1.getSuccessorBatchIssueNotAllowOperate());//SimpleFieldAssign//sourceId:436605_1
            retData.setAuthLoginUrl(multiColumnToMultiRowRes_1.getAuthLoginUrl());//SimpleFieldAssign//sourceId:1119579_1
            retData.setAuthLogoutUrl(multiColumnToMultiRowRes_1.getAuthLogoutUrl());//SimpleFieldAssign//sourceId:1119580_1
            retData.setAuthCheckTicketUrl(multiColumnToMultiRowRes_1.getAuthCheckTicketUrl());//SimpleFieldAssign//sourceId:1119581_1
            retData.setAppCallBackUrl(multiColumnToMultiRowRes_1.getAppCallBackUrl());//SimpleFieldAssign//sourceId:1119582_1
            retData.setUserNameField(multiColumnToMultiRowRes_1.getUserNameField());//SimpleFieldAssign//sourceId:1120303_1
            retData.setRoleMemberCodeField(multiColumnToMultiRowRes_1.getRoleMemberCodeField());//SimpleFieldAssign//sourceId:1120304_1
            retData.setPhoneField(multiColumnToMultiRowRes_1.getPhoneField());//SimpleFieldAssign//sourceId:1120305_1
            retData.setThirdMsgAppIdFields(multiColumnToMultiRowRes_1.getThirdMsgAppIdFields());//SimpleFieldAssign//sourceId:1123053_1
            retData.setMsgTitleFields(multiColumnToMultiRowRes_1.getMsgTitleFields());//SimpleFieldAssign//sourceId:1123054_1
            retData.setMsgContentFields(multiColumnToMultiRowRes_1.getMsgContentFields());//SimpleFieldAssign//sourceId:1123055_1
            retData.setMsgReceiverFields(multiColumnToMultiRowRes_1.getMsgReceiverFields());//SimpleFieldAssign//sourceId:1123056_1
            retData.setInterfaceMethod(multiColumnToMultiRowRes_1.getInterfaceMethod());//SimpleFieldAssign//sourceId:1123637_1
            retData.setMessageServeUrl(multiColumnToMultiRowRes_1.getMessageServeUrl());//SimpleFieldAssign//sourceId:1123639_1
            retData.setDeptApiUrl(multiColumnToMultiRowRes_1.getDeptApiUrl());//SimpleFieldAssign//sourceId:1123640_1
            retData.setStaffApiUrl(multiColumnToMultiRowRes_1.getStaffApiUrl());//SimpleFieldAssign//sourceId:1123641_1
            retData.setOrgApiDockingKeyFields(multiColumnToMultiRowRes_1.getOrgApiDockingKeyFields());//SimpleFieldAssign//sourceId:1161188_1
            retData.setOrgApiDockingKey(multiColumnToMultiRowRes_1.getOrgApiDockingKey());//SimpleFieldAssign//sourceId:1161189_1
            retData.setSmsServeUrl(multiColumnToMultiRowRes_1.getSmsServeUrl());//SimpleFieldAssign//sourceId:1161190_1
            retData.setSmsKey(multiColumnToMultiRowRes_1.getSmsKey());//SimpleFieldAssign//sourceId:1161191_1
            retData.setSmsReceiverFields(multiColumnToMultiRowRes_1.getSmsReceiverFields());//SimpleFieldAssign//sourceId:1161192_1
            retData.setSmsKeyFields(multiColumnToMultiRowRes_1.getSmsKeyFields());//SimpleFieldAssign//sourceId:1161193_1
            retData.setSmsTemplateCodeFields(multiColumnToMultiRowRes_1.getSmsTemplateCodeFields());//SimpleFieldAssign//sourceId:1161194_1
            retData.setSmsContentFields(multiColumnToMultiRowRes_1.getSmsContentFields());//SimpleFieldAssign//sourceId:1161195_1
            retData.setAliyunAk(multiColumnToMultiRowRes_1.getAliyunAk());//SimpleFieldAssign//sourceId:1161196_1
            retData.setAliyunSk(multiColumnToMultiRowRes_1.getAliyunSk());//SimpleFieldAssign//sourceId:1161197_1
            retData.setAliyunAkFields(multiColumnToMultiRowRes_1.getAliyunAkFields());//SimpleFieldAssign//sourceId:1161198_1
            retData.setAliyunSkFields(multiColumnToMultiRowRes_1.getAliyunSkFields());//SimpleFieldAssign//sourceId:1161199_1
            retData.setSmsTemplateCode(multiColumnToMultiRowRes_1.getSmsTemplateCode());//SimpleFieldAssign//sourceId:1161904_1
            retData.setValidChainCreate(multiColumnToMultiRowRes_1.getValidChainCreate());//SimpleFieldAssign//sourceId:2034482_1
            retData.setValidChainQuery(multiColumnToMultiRowRes_1.getValidChainQuery());//SimpleFieldAssign//sourceId:2034483_1
            retData.setValidChainUrl(multiColumnToMultiRowRes_1.getValidChainUrl());//SimpleFieldAssign//sourceId:2034484_1
            retData.setStepId(multiColumnToMultiRowRes_1.getStepId());//SimpleFieldAssign//sourceId:2034485_1
            retData.setWorkId(multiColumnToMultiRowRes_1.getWorkId());//SimpleFieldAssign//sourceId:2034486_1
            retData.setProductId(multiColumnToMultiRowRes_1.getProductId());//SimpleFieldAssign//sourceId:2034487_1
            retData.setAppKey(multiColumnToMultiRowRes_1.getAppKey());//SimpleFieldAssign//sourceId:2034488_1
            retData.setAppSecret(multiColumnToMultiRowRes_1.getAppSecret());//SimpleFieldAssign//sourceId:2034489_1
        }


        return retData;
    }

    /**
     * D2查询配置项下答案及扩展列表(公共)[5474]
     * gen by moon at 5/27/2023, 7:14:01 PM
     */
    @Trace(operationName = "D2查询配置项下答案及扩展列表(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryConfItemConfAnswerExtendListComRespDto queryConfItemConfAnswerExtendListCom(QueryConfItemConfAnswerExtendListComReqDto reqDto) {


        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult_1 = new ArrayList<>();
//步骤0: 2-3-07查询方案下选项配置结果列表 - queryConfItemResultList
        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult = new ArrayList<>();
        QueryConfItemResultListReq queryConfItemResultListReq = new QueryConfItemResultListReq();
        queryConfItemResultListReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:519897_1
        if (reqDto != null) {
            queryConfItemResultListReq.setConfItemCode(reqDto.getConfItemCode());//SimpleFieldAssign//sourceId:519894_1
            queryConfItemResultListReq.setExtensionField2(reqDto.getExtensionField2());//SimpleFieldAssign//sourceId:519901_1
            queryConfItemResultListReq.setExtensionField3(reqDto.getExtensionField3());//SimpleFieldAssign//sourceId:519902_1
            queryConfItemResultListReq.setConfSchemeCode(reqDto.getConfSchemeCode());//SimpleFieldAssign//sourceId:519895_1
            queryConfItemResultListReq.setResultAspObjId(reqDto.getResultAspObjId());//SimpleFieldAssign//sourceId:519899_1
            queryConfItemResultListReq.setResultAspObjType(reqDto.getResultAspObjType());//SimpleFieldAssign//sourceId:519900_1
            queryConfItemResultListReq.setIsPlatData(reqDto.getIsPlatData());//SimpleFieldAssign//sourceId:519896_1
        }

        /*2-3-07查询方案下选项配置结果列表[1940]   */
        Assert.isNull(queryConfItemResultListReq.getResultAspObjId(), "D2查询配置项下答案及扩展列表(公共)-2-3-07查询方案下选项配置结果列表-开通对象ID不能为空", false);
        Assert.isNull(queryConfItemResultListReq.getResultAspObjType(), "D2查询配置项下答案及扩展列表(公共)-2-3-07查询方案下选项配置结果列表-开通对象类型编码不能为空", false);
        Assert.isNull(queryConfItemResultListReq.getIsPlatData(), "D2查询配置项下答案及扩展列表(公共)-2-3-07查询方案下选项配置结果列表-是否标准答案不能为空", false);
        Assert.isNull(queryConfItemResultListReq.getSubjectLifeCycle(), "D2查询配置项下答案及扩展列表(公共)-2-3-07查询方案下选项配置结果列表-主体生命周期不能为空", false);
        listOmsConfSchemeOptionResult = mOmsConfSchemeOptionResultService.queryConfItemResultList(queryConfItemResultListReq)/*vcase invoke 本地 method 方法调用;*/;


        listOmsConfSchemeOptionResult_1 = listOmsConfSchemeOptionResult;

        QueryConfItemConfAnswerExtendListComRespDto retData = new QueryConfItemConfAnswerExtendListComRespDto();
        retData.setConfItemConfAnswerExtendList(listOmsConfSchemeOptionResult_1.stream().map(item -> BeanUtil.toBean(item, ConfItemConfAnswerExtendDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:519910_1


        return retData;
    }

    /**
     * D2-3查配置项匹配的选项转答案(公共)[5991]
     * gen by moon at 3/23/2024, 7:29:12 PM
     */
    @Trace(operationName = "D2-3查配置项匹配的选项转答案(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryItemMatchResultOptionToAnswerDetailComRespDto queryItemMatchResultOptionToAnswerDetailCom(QueryItemMatchResultOptionToAnswerDetailComReqDto reqDto) {


        ImplementColumnToRowAnswerRespDto columnToRowRes_1 = null;
//步骤0: 2-3-07查配置项匹配答案列表 - queryConfItemMatchAnswerList
        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult = new ArrayList<>();
        QueryConfItemMatchAnswerListReq queryConfItemMatchAnswerListReq = new QueryConfItemMatchAnswerListReq();
        if (reqDto != null) {
            queryConfItemMatchAnswerListReq.setConfItemCode(reqDto.getConfItemCode());//SimpleFieldAssign//sourceId:709416_1
            queryConfItemMatchAnswerListReq.setResultAspObjId(reqDto.getResultAspObjId());//SimpleFieldAssign//sourceId:709418_1
            queryConfItemMatchAnswerListReq.setResultAspObjType(reqDto.getResultAspObjType());//SimpleFieldAssign//sourceId:709417_1
            queryConfItemMatchAnswerListReq.setConfSchemeCode(reqDto.getConfSchemeCode());//SimpleFieldAssign//sourceId:1637968_1
            queryConfItemMatchAnswerListReq.setIsPlatData(reqDto.getIsPlatData());//SimpleFieldAssign//sourceId:709419_1
            queryConfItemMatchAnswerListReq.setIsInitialScheme(reqDto.getIsInitialScheme());//SimpleFieldAssign//sourceId:709420_1
            queryConfItemMatchAnswerListReq.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:709421_1
        }

        /*2-3-07查配置项匹配答案列表[2506]   */
        Assert.isNull(queryConfItemMatchAnswerListReq.getSubjectLifeCycle(), "D2-3查配置项匹配的选项转答案(公共)-2-3-07查配置项匹配答案列表-主体生命周期不能为空", false);
        listOmsConfSchemeOptionResult = mOmsConfSchemeOptionResultService.queryConfItemMatchAnswerList(queryConfItemMatchAnswerListReq)/*vcase invoke 本地 method 方法调用;*/;


//步骤1: M2-执行列转行（特殊方法） - implementColumnToRowAnswer
        //ModelCode: columnToRow
        ImplementColumnToRowAnswerRespDto columnToRowRes = null;
        if (listOmsConfSchemeOptionResult != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult) && listOmsConfSchemeOptionResult.size() > 0) {
            ImplementColumnToRowAnswerReqDto columnToRowReq = new ImplementColumnToRowAnswerReqDto();
            if (listOmsConfSchemeOptionResult != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult) && listOmsConfSchemeOptionResult != null && !CollectionUtil.isEmpty(listOmsConfSchemeOptionResult)) {
                columnToRowReq.setConfSchemeItemResultList(listOmsConfSchemeOptionResult.stream().map(item -> BeanUtil.toBean(item, ConfSchemeItemResultDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:709449_1
            }

            /*M2-执行选项结果转答案[5992]  将多列数据转成一行数据 */

            columnToRowRes = nbConfScheme.implementColumnToRowAnswer(columnToRowReq);


            columnToRowRes_1 = columnToRowRes;
        }

        QueryItemMatchResultOptionToAnswerDetailComRespDto retData = new QueryItemMatchResultOptionToAnswerDetailComRespDto();
        if (columnToRowRes_1 != null) {
            retData.setSubjectiveScoreWeight(columnToRowRes_1.getSubjectiveScoreWeight() != null ? Double.valueOf(columnToRowRes_1.getSubjectiveScoreWeight()) : null);//SimpleFieldAssign//sourceId:709450_1
            retData.setObjectiveScoreWeight(columnToRowRes_1.getObjectiveScoreWeight() != null ? Double.valueOf(columnToRowRes_1.getObjectiveScoreWeight()) : null);//SimpleFieldAssign//sourceId:709451_1
            retData.setProcessReportScoreProMidWeight(columnToRowRes_1.getProcessReportScoreProMidWeight());//SimpleFieldAssign//sourceId:709452_1
            retData.setProcessReportScoreAvgWeight(columnToRowRes_1.getProcessReportScoreAvgWeight());//SimpleFieldAssign//sourceId:709453_1
            retData.setOWeight(columnToRowRes_1.getOWeight() != null ? Double.valueOf(columnToRowRes_1.getOWeight()) : null);//SimpleFieldAssign//sourceId:716918_1
            retData.setProcessReportScoreKrWeight(columnToRowRes_1.getProcessReportScoreKrWeight());//SimpleFieldAssign//sourceId:709454_1
            retData.setReportScoreProcessWeight(columnToRowRes_1.getReportScoreProcessWeight());//SimpleFieldAssign//sourceId:709455_1
            retData.setReportScoreSubAndObjWeight(columnToRowRes_1.getReportScoreSubAndObjWeight());//SimpleFieldAssign//sourceId:709456_1
            retData.setActualScoreLocalLevelWeight(columnToRowRes_1.getActualScoreLocalLevelWeight());//SimpleFieldAssign//sourceId:709457_1
            retData.setActualScoreLowerLevelWeight(columnToRowRes_1.getActualScoreLowerLevelWeight());//SimpleFieldAssign//sourceId:709458_1
            retData.setProcessReportScoreMidWeight(columnToRowRes_1.getProcessReportScoreMidWeight());//SimpleFieldAssign//sourceId:709459_1
            retData.setOrgApiDockingKeyFields(columnToRowRes_1.getOrgApiDockingKeyFields());//SimpleFieldAssign//sourceId:1123679_1
            retData.setNameFields(columnToRowRes_1.getNameFields());//SimpleFieldAssign//sourceId:1122588_1
            retData.setRoleMemberCodeFields(columnToRowRes_1.getRoleMemberCodeFields());//SimpleFieldAssign//sourceId:1122589_1
            retData.setPartyAndYouthDirectorCodeFields(columnToRowRes_1.getPartyAndYouthDirectorCodeFields());//SimpleFieldAssign//sourceId:1122590_1
            retData.setPartyAndYouthDirectorNameFields(columnToRowRes_1.getPartyAndYouthDirectorNameFields());//SimpleFieldAssign//sourceId:1122591_1
            retData.setPositionIdNameFields(columnToRowRes_1.getPositionIdNameFields());//SimpleFieldAssign//sourceId:1122592_1
            retData.setSubordinateDeptFields(columnToRowRes_1.getSubordinateDeptFields());//SimpleFieldAssign//sourceId:1122593_1
            retData.setIdNumberFields(columnToRowRes_1.getIdNumberFields());//SimpleFieldAssign//sourceId:1122594_1
            retData.setPhoneFields(columnToRowRes_1.getPhoneFields());//SimpleFieldAssign//sourceId:1122595_1
            retData.setSexFields(columnToRowRes_1.getSexFields());//SimpleFieldAssign//sourceId:1122596_1
            retData.setPositionTypeFields(columnToRowRes_1.getPositionTypeFields());//SimpleFieldAssign//sourceId:1122597_1
            retData.setIsMainInductionFields(columnToRowRes_1.getIsMainInductionFields());//SimpleFieldAssign//sourceId:1122598_1
            retData.setIsDirectorFields(columnToRowRes_1.getIsDirectorFields());//SimpleFieldAssign//sourceId:1122599_1
            retData.setInductionStartTimeFields(columnToRowRes_1.getInductionStartTimeFields());//SimpleFieldAssign//sourceId:1122600_1
            retData.setDeptCodeFields(columnToRowRes_1.getDeptCodeFields());//SimpleFieldAssign//sourceId:1122601_1
            retData.setDeptNameFields(columnToRowRes_1.getDeptNameFields());//SimpleFieldAssign//sourceId:1122602_1
            retData.setSuperiorsDeptCodeFields(columnToRowRes_1.getSuperiorsDeptCodeFields());//SimpleFieldAssign//sourceId:1122603_1
            retData.setSuperiorsDeptNameFields(columnToRowRes_1.getSuperiorsDeptNameFields());//SimpleFieldAssign//sourceId:1122604_1
            retData.setDeptEnNameFields(columnToRowRes_1.getDeptEnNameFields());//SimpleFieldAssign//sourceId:1122605_1
            retData.setDeptShortNameFields(columnToRowRes_1.getDeptShortNameFields());//SimpleFieldAssign//sourceId:1122606_1
            retData.setDirectorRoleMemberCodeFields(columnToRowRes_1.getDirectorRoleMemberCodeFields());//SimpleFieldAssign//sourceId:1122607_1
            retData.setDirectorNameFields(columnToRowRes_1.getDirectorNameFields());//SimpleFieldAssign//sourceId:1122608_1
            retData.setDeptLeaderRoleMemberCodeFields(columnToRowRes_1.getDeptLeaderRoleMemberCodeFields());//SimpleFieldAssign//sourceId:1122609_1
            retData.setDeptLeaderNameFields(columnToRowRes_1.getDeptLeaderNameFields());//SimpleFieldAssign//sourceId:1122610_1
            retData.setOrderNumberFields(columnToRowRes_1.getOrderNumberFields());//SimpleFieldAssign//sourceId:1122611_1
            retData.setTypeDictionaryFields(columnToRowRes_1.getTypeDictionaryFields());//SimpleFieldAssign//sourceId:1122612_1
            retData.setDeptNameFields(columnToRowRes_1.getDeptNameFields());//SimpleFieldAssign//sourceId:1122669_1
            retData.setDatabaseAddress(columnToRowRes_1.getDatabaseAddress());//SimpleFieldAssign//sourceId:1639004_1
            retData.setDatabasePort(columnToRowRes_1.getDatabasePort());//SimpleFieldAssign//sourceId:1639005_1
            retData.setDatabaseUserId(columnToRowRes_1.getDatabaseUserId());//SimpleFieldAssign//sourceId:1639006_1
            retData.setDatabasePassWord(columnToRowRes_1.getDatabasePassWord());//SimpleFieldAssign//sourceId:1639007_1
            retData.setDatabaseName(columnToRowRes_1.getDatabaseName());//SimpleFieldAssign//sourceId:1639008_1
        }


        return retData;
    }

    /**
     * D2查询配置答案名称等无约束(公共)[6483]
     * gen by moon at 5/6/2023, 2:55:09 PM
     */
    @Trace(operationName = "D2查询配置答案名称等无约束(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryConfResultNameUnconstrainedDetailComRespDto queryConfResultNameUnconstrainedDetailCom(QueryConfResultNameUnconstrainedDetailComReqDto reqDto) {


        OmsConfSchemeOptionResult omsConfSchemeOptionResult_1 = null;
//步骤0: 2-3-07查配置项匹配答案详情 - queryConfItemMatchAnswerDetail
        OmsConfSchemeOptionResult omsConfSchemeOptionResult = null;
        QueryConfItemMatchAnswerDetailReq queryConfItemMatchAnswerDetailReq = new QueryConfItemMatchAnswerDetailReq();
        if (reqDto != null) {
            queryConfItemMatchAnswerDetailReq.setEndValue(reqDto.getEndValue());//SimpleFieldAssign//sourceId:896130_1
            queryConfItemMatchAnswerDetailReq.setResultAspObjId(reqDto.getResultAspObjId());//SimpleFieldAssign//sourceId:896116_1
            queryConfItemMatchAnswerDetailReq.setConfSchemeId(reqDto.getConfSchemeId());//SimpleFieldAssign//sourceId:896128_1
            queryConfItemMatchAnswerDetailReq.setConfItemCode(reqDto.getConfItemCode());//SimpleFieldAssign//sourceId:896114_1
            queryConfItemMatchAnswerDetailReq.setIsPlatData(reqDto.getIsPlatData());//SimpleFieldAssign//sourceId:896118_1
        }

        /*2-3-07查配置项匹配答案详情[2487]   */

        omsConfSchemeOptionResult = mOmsConfSchemeOptionResultService.queryConfItemMatchAnswerDetail(queryConfItemMatchAnswerDetailReq)/*vcase invoke 本地 method 方法调用;*/;


        omsConfSchemeOptionResult_1 = omsConfSchemeOptionResult;

        QueryConfResultNameUnconstrainedDetailComRespDto retData = new QueryConfResultNameUnconstrainedDetailComRespDto();
        if (omsConfSchemeOptionResult_1 != null) {
            retData.setOptionResultId(omsConfSchemeOptionResult_1.getOptionResultId());//SimpleFieldAssign//sourceId:896136_1
            retData.setConfOptionName(omsConfSchemeOptionResult_1.getConfOptionName());//SimpleFieldAssign//sourceId:896137_1
        }


        return retData;
    }

    /**
     * D2执行授权的指标业务类型范围[6554]
     * gen by moon at 5/10/2023, 6:50:35 PM
     */
    @Trace(operationName = "D2执行授权的指标业务类型范围")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public ImplementImpowerObjtiveTypeScopeRespDto implementImpowerObjtiveTypeScope(ImplementImpowerObjtiveTypeScopeReqDto reqDto) {


        ObtainReceiveFieldsRespDto receptionServiceRes_1 = null;
        if ((reqDto != null && reqDto.getApplexType() != null && reqDto.getApplexType().equals("TENANT_SPACE"))) {
            //if(D2执行授权的指标业务类型范围.开通对象钥匙标识 等于 租户空间)  40863

            QueryConfItemMatchAnswerListComRespDto queryConfItemMatchAnswerListComRespDto = null;
            QueryConfItemMatchAnswerListComReqDto queryConfItemMatchAnswerListComReqDto = new QueryConfItemMatchAnswerListComReqDto();
            queryConfItemMatchAnswerListComReqDto.setConfItemCode("ENABLE_TARGET_OBJ_TEMP_BIZ_TYPE");//CUSTOM_CONVENTION//sourceId:916931_1_40865
            queryConfItemMatchAnswerListComReqDto.setIsPlatData("FALSE");//sourceId:916934_1_40865
            if (reqDto != null) {
                queryConfItemMatchAnswerListComReqDto.setResultAspObjId(reqDto.getApplexId());//SimpleFieldAssign//sourceId:916933_1_40865
                queryConfItemMatchAnswerListComReqDto.setResultAspObjType(reqDto.getApplexType());//SimpleFieldAssign//sourceId:916932_1_40865
            }

            /*D2-3查配置项匹配答案列表(公共)（跨服务）[2505]   */
            Assert.isNull(queryConfItemMatchAnswerListComReqDto.getResultAspObjId(), "D2执行授权的指标业务类型范围-D2-3查配置项匹配答案列表(公共)（跨服务）-开通对象ID不能为空", false);
            Assert.isNull(queryConfItemMatchAnswerListComReqDto.getResultAspObjType(), "D2执行授权的指标业务类型范围-D2-3查配置项匹配答案列表(公共)（跨服务）-开通对象钥匙标识不能为空", false);
            Assert.isNull(queryConfItemMatchAnswerListComReqDto.getConfItemCode(), "D2执行授权的指标业务类型范围-D2-3查配置项匹配答案列表(公共)（跨服务）-配置项标识不能为空", false);
            Assert.isNull(queryConfItemMatchAnswerListComReqDto.getIsPlatData(), "D2执行授权的指标业务类型范围-D2-3查配置项匹配答案列表(公共)（跨服务）-是否标准答案不能为空", false);
            queryConfItemMatchAnswerListComRespDto = queryConfItemMatchAnswerListCom(queryConfItemMatchAnswerListComReqDto)/*vcase invoke 同服务,同domain*/;


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes = null;
            if (queryConfItemMatchAnswerListComRespDto != null) {
                ObtainReceiveFieldsReqDto receptionServiceReq = new ObtainReceiveFieldsReqDto();
                if (queryConfItemMatchAnswerListComRespDto != null && queryConfItemMatchAnswerListComRespDto.getConfSchemeItemResultList() != null && !CollectionUtil.isEmpty(queryConfItemMatchAnswerListComRespDto.getConfSchemeItemResultList())) {
                    receptionServiceReq.setImpowerTargetObjBizTypeList(queryConfItemMatchAnswerListComRespDto.getConfSchemeItemResultList().stream().map(item -> BeanUtil.toBean(item, ImpowerTargetObjBizTypeDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:917252_1_40867
                }

                /*M2-获取答案数据集字段[4007]  用于特殊方法接收上游入参。 */

                receptionServiceRes = nbConfScheme.obtainReceiveFields(receptionServiceReq);


                receptionServiceRes_1 = receptionServiceRes;
            }
        } else if ((reqDto != null && reqDto.getApplexType() != null && reqDto.getApplexType().equals("EVA_THEME"))) {
            //elseif(D2执行授权的指标业务类型范围.开通对象钥匙标识 等于 评价主题)  40864

            QueryConfItemMatchAnswerListComRespDto queryConfItemMatchAnswerListComRespDto_2 = null;
            QueryConfItemMatchAnswerListComReqDto queryConfItemMatchAnswerListComReqDto_1 = new QueryConfItemMatchAnswerListComReqDto();
            queryConfItemMatchAnswerListComReqDto_1.setConfItemCode("THEME_ENABLE_TARGET_OBJ_TEMP_BIZ_TYPE");//CUSTOM_CONVENTION//sourceId:916940_1_40866
            queryConfItemMatchAnswerListComReqDto_1.setIsPlatData("FALSE");//sourceId:916943_1_40866
            if (reqDto != null) {
                queryConfItemMatchAnswerListComReqDto_1.setResultAspObjId(reqDto.getApplexId());//SimpleFieldAssign//sourceId:916942_1_40866
                queryConfItemMatchAnswerListComReqDto_1.setResultAspObjType(reqDto.getApplexType());//SimpleFieldAssign//sourceId:916941_1_40866
            }

            /*D2-3查配置项匹配答案列表(公共)（跨服务）[2505]   */
            Assert.isNull(queryConfItemMatchAnswerListComReqDto_1.getResultAspObjId(), "D2执行授权的指标业务类型范围-D2-3查配置项匹配答案列表(公共)（跨服务）-开通对象ID不能为空", false);
            Assert.isNull(queryConfItemMatchAnswerListComReqDto_1.getResultAspObjType(), "D2执行授权的指标业务类型范围-D2-3查配置项匹配答案列表(公共)（跨服务）-开通对象钥匙标识不能为空", false);
            Assert.isNull(queryConfItemMatchAnswerListComReqDto_1.getConfItemCode(), "D2执行授权的指标业务类型范围-D2-3查配置项匹配答案列表(公共)（跨服务）-配置项标识不能为空", false);
            Assert.isNull(queryConfItemMatchAnswerListComReqDto_1.getIsPlatData(), "D2执行授权的指标业务类型范围-D2-3查配置项匹配答案列表(公共)（跨服务）-是否标准答案不能为空", false);
            queryConfItemMatchAnswerListComRespDto_2 = queryConfItemMatchAnswerListCom(queryConfItemMatchAnswerListComReqDto_1)/*vcase invoke 同服务,同domain*/;


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_2 = null;
            if (queryConfItemMatchAnswerListComRespDto_2 != null) {
                ObtainReceiveFieldsReqDto receptionServiceReq_1 = new ObtainReceiveFieldsReqDto();
                if (queryConfItemMatchAnswerListComRespDto_2 != null && queryConfItemMatchAnswerListComRespDto_2.getConfSchemeItemResultList() != null && !CollectionUtil.isEmpty(queryConfItemMatchAnswerListComRespDto_2.getConfSchemeItemResultList())) {
                    receptionServiceReq_1.setImpowerTargetObjBizTypeList(queryConfItemMatchAnswerListComRespDto_2.getConfSchemeItemResultList().stream().map(item -> BeanUtil.toBean(item, ImpowerTargetObjBizTypeDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:917252_1_40868
                }

                /*M2-获取答案数据集字段[4007]  用于特殊方法接收上游入参。 */

                receptionServiceRes_2 = nbConfScheme.obtainReceiveFields(receptionServiceReq_1);


                receptionServiceRes_1 = receptionServiceRes_2;
            }
        }
        ImplementImpowerObjtiveTypeScopeRespDto retData = new ImplementImpowerObjtiveTypeScopeRespDto();
        if (receptionServiceRes_1 != null) {
            retData.setImpowerTargetObjBizTypeList(//objList-to-objLists
                    receptionServiceRes_1.getImpowerTargetObjBizTypeList().stream().map(item -> {
                        ImpowerTargetObjBizTypeDto elm = new ImpowerTargetObjBizTypeDto();
                        if (item != null) {
                            elm.setObjectiveValueTypeCode(item.getEndValue());//SimpleFieldAssign//sourceId:195411_2
                            elm.setObjectiveValueTypeName(item.getConfOptionName());//SimpleFieldAssign//sourceId:195412_2
                        }
                        return elm;
                    }).collect(Collectors.toList()));//objList-to-objLists//sourceId:917261_1
        }


        return retData;
    }

    /**
     * D2获取进度加载背景图(公共)[6957]
     * gen by moon at 6/27/2023, 3:57:57 AM
     */
    @Trace(operationName = "D2获取进度加载背景图(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public ObtainProgressLoadingBgComRespDto obtainProgressLoadingBgCom(ObtainProgressLoadingBgComReqDto reqDto) {


        OmsConfSchemeOptionResult omsConfSchemeOptionResult_1 = null;
//步骤0: 2-3-07查配置项匹配答案详情 - queryConfItemMatchAnswerDetail
        OmsConfSchemeOptionResult omsConfSchemeOptionResult = null;
        QueryConfItemMatchAnswerDetailReq queryConfItemMatchAnswerDetailReq = new QueryConfItemMatchAnswerDetailReq();
        queryConfItemMatchAnswerDetailReq.setConfSchemeCode("COM_CONF_SCHEME");//CUSTOM_CONVENTION//sourceId:985694_1
        queryConfItemMatchAnswerDetailReq.setIsPlatData("TRUE");//sourceId:985642_1
        queryConfItemMatchAnswerDetailReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:985644_1
        if (reqDto != null) {
            queryConfItemMatchAnswerDetailReq.setExtensionField1(reqDto.getExtensionField1());//SimpleFieldAssign//sourceId:985696_1
            queryConfItemMatchAnswerDetailReq.setConfItemCode(reqDto.getConfItemCode());//SimpleFieldAssign//sourceId:985638_1
        }

        /*2-3-07查配置项匹配答案详情[2487]   */
        Assert.isNull(queryConfItemMatchAnswerDetailReq.getExtensionField1(), "D2获取进度加载背景图(公共)-2-3-07查配置项匹配答案详情-扩展字段1 （非必填）不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailReq.getConfItemCode(), "D2获取进度加载背景图(公共)-2-3-07查配置项匹配答案详情-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailReq.getConfSchemeCode(), "D2获取进度加载背景图(公共)-2-3-07查配置项匹配答案详情-配置方案标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailReq.getIsPlatData(), "D2获取进度加载背景图(公共)-2-3-07查配置项匹配答案详情-是否标准答案不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailReq.getSubjectLifeCycle(), "D2获取进度加载背景图(公共)-2-3-07查配置项匹配答案详情-主体生命周期不能为空", false);
        omsConfSchemeOptionResult = mOmsConfSchemeOptionResultService.queryConfItemMatchAnswerDetail(queryConfItemMatchAnswerDetailReq)/*vcase invoke 本地 method 方法调用;*/;


        omsConfSchemeOptionResult_1 = omsConfSchemeOptionResult;

        ObtainProgressLoadingBgComRespDto retData = new ObtainProgressLoadingBgComRespDto();
        if (omsConfSchemeOptionResult_1 != null) {
            retData.setBackGroundAddress(omsConfSchemeOptionResult_1.getExtensionField2());//SimpleFieldAssign//sourceId:987852_1
            retData.setExtensionField3(omsConfSchemeOptionResult_1.getExtensionField3());//SimpleFieldAssign//sourceId:1066411_1
        }


        return retData;
    }

    /**
     * D2获取进度用途类型背景图配置项标识(公共)[7267]
     * gen by moon at 6/30/2023, 12:19:15 AM
     */
    @Trace(operationName = "D2获取进度用途类型背景图配置项标识(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public ObtainProgressUseTypeBgConfCodeComRespDto obtainProgressUseTypeBgConfCodeCom(ObtainProgressUseTypeBgConfCodeComReqDto reqDto) {


        ObtainReceiveFieldsRespDto receptionServiceRes_1 = null;
        OmsConfSchemeOptionResult omsConfSchemeOptionResult_3 = null;
//virtualUsage 2-3-07查当前进度用途类型是否个性背景图  46565
        OmsConfSchemeOptionResult omsConfSchemeOptionResult = null;
        QueryConfItemMatchAnswerDetailReq queryConfItemMatchAnswerDetailReq = new QueryConfItemMatchAnswerDetailReq();
        queryConfItemMatchAnswerDetailReq.setExtensionField1("TRUE");//CUSTOM_CONVENTION//sourceId:1068527_1_46565
        queryConfItemMatchAnswerDetailReq.setConfItemCode("PROGRESS_USE_TYPE");//CUSTOM_CONVENTION//sourceId:1068529_1_46565
        queryConfItemMatchAnswerDetailReq.setConfSchemeCode("COM_CONF_SCHEME");//CUSTOM_CONVENTION//sourceId:1068530_1_46565
        queryConfItemMatchAnswerDetailReq.setIsPlatData("TRUE");//sourceId:1068531_1_46565
        if (reqDto != null) {
            queryConfItemMatchAnswerDetailReq.setConfOptionCode(reqDto.getUseTypeCode());//SimpleFieldAssign//sourceId:1068528_1_46565
        }

        /*2-3-07查当前进度用途类型是否个性背景图[2487]   */
        Assert.isNull(queryConfItemMatchAnswerDetailReq.getConfOptionCode(), "D2获取进度用途类型背景图配置项标识(公共)-2-3-07查当前进度用途类型是否个性背景图-选项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailReq.getExtensionField1(), "D2获取进度用途类型背景图配置项标识(公共)-2-3-07查当前进度用途类型是否个性背景图-扩展字段1 （非必填）不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailReq.getConfItemCode(), "D2获取进度用途类型背景图配置项标识(公共)-2-3-07查当前进度用途类型是否个性背景图-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailReq.getConfSchemeCode(), "D2获取进度用途类型背景图配置项标识(公共)-2-3-07查当前进度用途类型是否个性背景图-配置方案标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailReq.getIsPlatData(), "D2获取进度用途类型背景图配置项标识(公共)-2-3-07查当前进度用途类型是否个性背景图-是否标准答案不能为空", false);
        omsConfSchemeOptionResult = mOmsConfSchemeOptionResultService.queryConfItemMatchAnswerDetail(queryConfItemMatchAnswerDetailReq)/*vcase invoke 本地 method 方法调用;*/;


        if ((omsConfSchemeOptionResult != null)) {
            //if(2-3-07查当前进度用途类型是否个性背景图.出参 值不等于空 )  46566

//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes = null;
            ObtainReceiveFieldsReqDto receptionServiceReq = new ObtainReceiveFieldsReqDto();
            if (reqDto != null) {
                receptionServiceReq.setConfItemCode(reqDto.getUseTypeCode());//SimpleFieldAssign//sourceId:1068796_1_46567
            }

            /*M2-接收进度背景图配置项标识[4007]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq.getConfItemCode(), "D2获取进度用途类型背景图配置项标识(公共)-M2-接收进度背景图配置项标识-配置项标识不能为空", false);
            receptionServiceRes = nbConfScheme.obtainReceiveFields(receptionServiceReq);


            receptionServiceRes_1 = receptionServiceRes;
            OmsConfSchemeOptionResult omsConfSchemeOptionResult_2 = null;
            QueryConfItemMatchAnswerDetailReq queryConfItemMatchAnswerDetailReq_1 = new QueryConfItemMatchAnswerDetailReq();
            queryConfItemMatchAnswerDetailReq_1.setExtensionField1("0");//CUSTOM_CONVENTION//sourceId:1072545_1_46741
            queryConfItemMatchAnswerDetailReq_1.setConfSchemeCode("COM_CONF_SCHEME");//CUSTOM_CONVENTION//sourceId:1072534_1_46741
            queryConfItemMatchAnswerDetailReq_1.setIsPlatData("TRUE");//sourceId:1072535_1_46741
            queryConfItemMatchAnswerDetailReq_1.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1072536_1_46741
            if (receptionServiceRes != null) {
                queryConfItemMatchAnswerDetailReq_1.setConfItemCode(receptionServiceRes.getConfItemCode());//SimpleFieldAssign//sourceId:1072533_1_46741
            }

            /*2-3-07查默认首张背景图[2487]   */
            Assert.isNull(queryConfItemMatchAnswerDetailReq_1.getConfItemCode(), "D2获取进度用途类型背景图配置项标识(公共)-2-3-07查默认首张背景图-配置项标识不能为空", false);
            Assert.isNull(queryConfItemMatchAnswerDetailReq_1.getExtensionField1(), "D2获取进度用途类型背景图配置项标识(公共)-2-3-07查默认首张背景图-扩展字段1 （非必填）不能为空", false);
            Assert.isNull(queryConfItemMatchAnswerDetailReq_1.getConfSchemeCode(), "D2获取进度用途类型背景图配置项标识(公共)-2-3-07查默认首张背景图-配置方案标识不能为空", false);
            Assert.isNull(queryConfItemMatchAnswerDetailReq_1.getIsPlatData(), "D2获取进度用途类型背景图配置项标识(公共)-2-3-07查默认首张背景图-是否标准答案不能为空", false);
            Assert.isNull(queryConfItemMatchAnswerDetailReq_1.getSubjectLifeCycle(), "D2获取进度用途类型背景图配置项标识(公共)-2-3-07查默认首张背景图-主体生命周期不能为空", false);
            omsConfSchemeOptionResult_2 = mOmsConfSchemeOptionResultService.queryConfItemMatchAnswerDetail(queryConfItemMatchAnswerDetailReq_1)/*vcase invoke 本地 method 方法调用;*/;


            omsConfSchemeOptionResult_3 = omsConfSchemeOptionResult_2;
        } else if ((omsConfSchemeOptionResult == null)) {
            //elseif(2-3-07查当前进度用途类型是否个性背景图.出参 值等于空 )  46568

            OmsConfSchemeOptionResult omsConfSchemeOptionResult_4 = null;
            QueryConfItemMatchAnswerDetailReq queryConfItemMatchAnswerDetailReq_2 = new QueryConfItemMatchAnswerDetailReq();
            queryConfItemMatchAnswerDetailReq_2.setResultAspObjId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1068857_1_46569
            queryConfItemMatchAnswerDetailReq_2.setConfItemCode("US_PROGRESS_QUERY_METHOD");//CUSTOM_CONVENTION//sourceId:1068856_1_46569
            queryConfItemMatchAnswerDetailReq_2.setIsPlatData("FALSE");//sourceId:1068858_1_46569
            queryConfItemMatchAnswerDetailReq_2.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1068859_1_46569

            /*2-3-07查空间下背景图查询方式配置答案[2487]   */
            Assert.isNull(queryConfItemMatchAnswerDetailReq_2.getResultAspObjId(), "D2获取进度用途类型背景图配置项标识(公共)-2-3-07查空间下背景图查询方式配置答案-开通对象ID不能为空", false);
            Assert.isNull(queryConfItemMatchAnswerDetailReq_2.getConfItemCode(), "D2获取进度用途类型背景图配置项标识(公共)-2-3-07查空间下背景图查询方式配置答案-配置项标识不能为空", false);
            Assert.isNull(queryConfItemMatchAnswerDetailReq_2.getIsPlatData(), "D2获取进度用途类型背景图配置项标识(公共)-2-3-07查空间下背景图查询方式配置答案-是否标准答案不能为空", false);
            Assert.isNull(queryConfItemMatchAnswerDetailReq_2.getSubjectLifeCycle(), "D2获取进度用途类型背景图配置项标识(公共)-2-3-07查空间下背景图查询方式配置答案-主体生命周期不能为空", false);
            omsConfSchemeOptionResult_4 = mOmsConfSchemeOptionResultService.queryConfItemMatchAnswerDetail(queryConfItemMatchAnswerDetailReq_2)/*vcase invoke 本地 method 方法调用;*/;


            if ((omsConfSchemeOptionResult_4 != null && omsConfSchemeOptionResult_4.getEndValue() != null && omsConfSchemeOptionResult_4.getEndValue().equals("UNIVERSAL_STANDARD1"))) {
                //if(2-3-07查空间下背景图查询方式配置答案.答案值 等于 通用标准1)  46570

//ModelCode: receptionService
                ObtainReceiveFieldsRespDto receptionServiceRes_2 = null;
                ObtainReceiveFieldsReqDto receptionServiceReq_1 = new ObtainReceiveFieldsReqDto();
                receptionServiceReq_1.setConfItemCode("UP_BACKGROUND1");//CUSTOM_CONVENTION//sourceId:1070073_1_46593

                /*M2-约定为背景图通用标准1[4007]  用于特殊方法接收上游入参。 */
                Assert.isNull(receptionServiceReq_1.getConfItemCode(), "D2获取进度用途类型背景图配置项标识(公共)-M2-约定为背景图通用标准1-配置项标识不能为空", false);
                receptionServiceRes_2 = nbConfScheme.obtainReceiveFields(receptionServiceReq_1);


//ModelCode: receptionService
                ObtainReceiveFieldsRespDto receptionServiceRes_4 = null;
                ObtainReceiveFieldsReqDto receptionServiceReq_2 = new ObtainReceiveFieldsReqDto();
                if (receptionServiceRes_2 != null) {
                    receptionServiceReq_2.setConfItemCode(receptionServiceRes_2.getConfItemCode());//SimpleFieldAssign//sourceId:1068796_1_46590
                }

                /*M2-接收进度背景图配置项标识[4007]  用于特殊方法接收上游入参。 */
                Assert.isNull(receptionServiceReq_2.getConfItemCode(), "D2获取进度用途类型背景图配置项标识(公共)-M2-接收进度背景图配置项标识-配置项标识不能为空", false);
                receptionServiceRes_4 = nbConfScheme.obtainReceiveFields(receptionServiceReq_2);


                receptionServiceRes_1 = receptionServiceRes_4;
                OmsConfSchemeOptionResult omsConfSchemeOptionResult_6 = null;
                QueryConfItemMatchAnswerDetailReq queryConfItemMatchAnswerDetailReq_3 = new QueryConfItemMatchAnswerDetailReq();
                queryConfItemMatchAnswerDetailReq_3.setExtensionField1("0");//CUSTOM_CONVENTION//sourceId:1072545_1_46742
                queryConfItemMatchAnswerDetailReq_3.setConfSchemeCode("COM_CONF_SCHEME");//CUSTOM_CONVENTION//sourceId:1072534_1_46742
                queryConfItemMatchAnswerDetailReq_3.setIsPlatData("TRUE");//sourceId:1072535_1_46742
                queryConfItemMatchAnswerDetailReq_3.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1072536_1_46742
                if (receptionServiceRes_4 != null) {
                    queryConfItemMatchAnswerDetailReq_3.setConfItemCode(receptionServiceRes_4.getConfItemCode());//SimpleFieldAssign//sourceId:1072533_1_46742
                }

                /*2-3-07查默认首张背景图[2487]   */
                Assert.isNull(queryConfItemMatchAnswerDetailReq_3.getConfItemCode(), "D2获取进度用途类型背景图配置项标识(公共)-2-3-07查默认首张背景图-配置项标识不能为空", false);
                Assert.isNull(queryConfItemMatchAnswerDetailReq_3.getExtensionField1(), "D2获取进度用途类型背景图配置项标识(公共)-2-3-07查默认首张背景图-扩展字段1 （非必填）不能为空", false);
                Assert.isNull(queryConfItemMatchAnswerDetailReq_3.getConfSchemeCode(), "D2获取进度用途类型背景图配置项标识(公共)-2-3-07查默认首张背景图-配置方案标识不能为空", false);
                Assert.isNull(queryConfItemMatchAnswerDetailReq_3.getIsPlatData(), "D2获取进度用途类型背景图配置项标识(公共)-2-3-07查默认首张背景图-是否标准答案不能为空", false);
                Assert.isNull(queryConfItemMatchAnswerDetailReq_3.getSubjectLifeCycle(), "D2获取进度用途类型背景图配置项标识(公共)-2-3-07查默认首张背景图-主体生命周期不能为空", false);
                omsConfSchemeOptionResult_6 = mOmsConfSchemeOptionResultService.queryConfItemMatchAnswerDetail(queryConfItemMatchAnswerDetailReq_3)/*vcase invoke 本地 method 方法调用;*/;


                omsConfSchemeOptionResult_3 = omsConfSchemeOptionResult_6;
            } else if ((omsConfSchemeOptionResult_4 != null && omsConfSchemeOptionResult_4.getEndValue() != null && omsConfSchemeOptionResult_4.getEndValue().equals("UNIVERSAL_STANDARD2"))) {
                //elseif(2-3-07查空间下背景图查询方式配置答案.答案值 等于 通用标准2)  46571

//ModelCode: receptionService
                ObtainReceiveFieldsRespDto receptionServiceRes_5 = null;
                ObtainReceiveFieldsReqDto receptionServiceReq_3 = new ObtainReceiveFieldsReqDto();
                receptionServiceReq_3.setConfItemCode("UP_BACKGROUND2");//CUSTOM_CONVENTION//sourceId:1070371_1_46596

                /*M2-约定为背景图通用标准2[4007]  用于特殊方法接收上游入参。 */
                Assert.isNull(receptionServiceReq_3.getConfItemCode(), "D2获取进度用途类型背景图配置项标识(公共)-M2-约定为背景图通用标准2-配置项标识不能为空", false);
                receptionServiceRes_5 = nbConfScheme.obtainReceiveFields(receptionServiceReq_3);


//ModelCode: receptionService
                ObtainReceiveFieldsRespDto receptionServiceRes_7 = null;
                ObtainReceiveFieldsReqDto receptionServiceReq_4 = new ObtainReceiveFieldsReqDto();
                if (receptionServiceRes_5 != null) {
                    receptionServiceReq_4.setConfItemCode(receptionServiceRes_5.getConfItemCode());//SimpleFieldAssign//sourceId:1068796_1_46591
                }

                /*M2-接收进度背景图配置项标识[4007]  用于特殊方法接收上游入参。 */
                Assert.isNull(receptionServiceReq_4.getConfItemCode(), "D2获取进度用途类型背景图配置项标识(公共)-M2-接收进度背景图配置项标识-配置项标识不能为空", false);
                receptionServiceRes_7 = nbConfScheme.obtainReceiveFields(receptionServiceReq_4);


                receptionServiceRes_1 = receptionServiceRes_7;
                OmsConfSchemeOptionResult omsConfSchemeOptionResult_7 = null;
                QueryConfItemMatchAnswerDetailReq queryConfItemMatchAnswerDetailReq_4 = new QueryConfItemMatchAnswerDetailReq();
                queryConfItemMatchAnswerDetailReq_4.setExtensionField1("0");//CUSTOM_CONVENTION//sourceId:1072545_1_46743
                queryConfItemMatchAnswerDetailReq_4.setConfSchemeCode("COM_CONF_SCHEME");//CUSTOM_CONVENTION//sourceId:1072534_1_46743
                queryConfItemMatchAnswerDetailReq_4.setIsPlatData("TRUE");//sourceId:1072535_1_46743
                queryConfItemMatchAnswerDetailReq_4.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1072536_1_46743
                if (receptionServiceRes_7 != null) {
                    queryConfItemMatchAnswerDetailReq_4.setConfItemCode(receptionServiceRes_7.getConfItemCode());//SimpleFieldAssign//sourceId:1072533_1_46743
                }

                /*2-3-07查默认首张背景图[2487]   */
                Assert.isNull(queryConfItemMatchAnswerDetailReq_4.getConfItemCode(), "D2获取进度用途类型背景图配置项标识(公共)-2-3-07查默认首张背景图-配置项标识不能为空", false);
                Assert.isNull(queryConfItemMatchAnswerDetailReq_4.getExtensionField1(), "D2获取进度用途类型背景图配置项标识(公共)-2-3-07查默认首张背景图-扩展字段1 （非必填）不能为空", false);
                Assert.isNull(queryConfItemMatchAnswerDetailReq_4.getConfSchemeCode(), "D2获取进度用途类型背景图配置项标识(公共)-2-3-07查默认首张背景图-配置方案标识不能为空", false);
                Assert.isNull(queryConfItemMatchAnswerDetailReq_4.getIsPlatData(), "D2获取进度用途类型背景图配置项标识(公共)-2-3-07查默认首张背景图-是否标准答案不能为空", false);
                Assert.isNull(queryConfItemMatchAnswerDetailReq_4.getSubjectLifeCycle(), "D2获取进度用途类型背景图配置项标识(公共)-2-3-07查默认首张背景图-主体生命周期不能为空", false);
                omsConfSchemeOptionResult_7 = mOmsConfSchemeOptionResultService.queryConfItemMatchAnswerDetail(queryConfItemMatchAnswerDetailReq_4)/*vcase invoke 本地 method 方法调用;*/;


                omsConfSchemeOptionResult_3 = omsConfSchemeOptionResult_7;
            } else if ((omsConfSchemeOptionResult_4 != null && omsConfSchemeOptionResult_4.getEndValue() != null && omsConfSchemeOptionResult_4.getEndValue().equals("RANDOM_STANDARD"))) {
                //elseif(2-3-07查空间下背景图查询方式配置答案.答案值 等于 随机标准)  46592

                List<OmsConfClassItem> listOmsConfClassItem = new ArrayList<>();
                QueryConfClassItemListReq queryConfClassItemListReq = new QueryConfClassItemListReq();
                queryConfClassItemListReq.setConfItemClassCode("UP_BACKGROUND_CONFIGURATION_GROUP");//CUSTOM_CONVENTION//sourceId:1070381_1_46598
                queryConfClassItemListReq.setConfSchemeCode("COM_CONF_SCHEME");//CUSTOM_CONVENTION//sourceId:1070375_1_46598
                queryConfClassItemListReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1070376_1_46598

                /*2-3-06查分组下配置项列表[1934]   */
                Assert.isNull(queryConfClassItemListReq.getConfItemClassCode(), "D2获取进度用途类型背景图配置项标识(公共)-2-3-06查分组下配置项列表-分组标识不能为空", false);
                Assert.isNull(queryConfClassItemListReq.getConfSchemeCode(), "D2获取进度用途类型背景图配置项标识(公共)-2-3-06查分组下配置项列表-所属配置方案标识不能为空", false);
                Assert.isNull(queryConfClassItemListReq.getSubjectLifeCycle(), "D2获取进度用途类型背景图配置项标识(公共)-2-3-06查分组下配置项列表-生命周期状态不能为空", false);
                listOmsConfClassItem = mOmsConfClassItemService.queryConfClassItemList(queryConfClassItemListReq)/*vcase invoke 本地 method 方法调用;*/;


//ModelCode: dataStochasticOne
                ObtainDataStochasticOneRespDto dataStochasticOneRes = null;
                if (listOmsConfClassItem != null && !CollectionUtil.isEmpty(listOmsConfClassItem) && listOmsConfClassItem.size() > 0) {
                    ObtainDataStochasticOneReqDto dataStochasticOneReq = new ObtainDataStochasticOneReqDto();
                    if (listOmsConfClassItem != null && !CollectionUtil.isEmpty(listOmsConfClassItem) && listOmsConfClassItem != null && !CollectionUtil.isEmpty(listOmsConfClassItem)) {
                        dataStochasticOneReq.setDataStochasticOneList(listOmsConfClassItem.stream().map(item -> item.getConfItemCode())
                                .collect(Collectors.toList()));/*list-to-strings*///sourceId:1070384_1_46599
                    }

                    /*M2随机一条通用背景图配置项标识[7269]  入参数据集，随机出参数据集的单条记录 */

                    dataStochasticOneRes = nbConfScheme.obtainDataStochasticOne(dataStochasticOneReq);


                }
//ModelCode: receptionService
                ObtainReceiveFieldsRespDto receptionServiceRes_8 = null;
                ObtainReceiveFieldsReqDto receptionServiceReq_5 = new ObtainReceiveFieldsReqDto();
                if (dataStochasticOneRes != null) {
                    receptionServiceReq_5.setConfItemCode(dataStochasticOneRes.getCustomField());//SimpleFieldAssign//sourceId:1068796_1_46595
                }

                /*M2-接收进度背景图配置项标识[4007]  用于特殊方法接收上游入参。 */
                Assert.isNull(receptionServiceReq_5.getConfItemCode(), "D2获取进度用途类型背景图配置项标识(公共)-M2-接收进度背景图配置项标识-配置项标识不能为空", false);
                receptionServiceRes_8 = nbConfScheme.obtainReceiveFields(receptionServiceReq_5);


                receptionServiceRes_1 = receptionServiceRes_8;
                OmsConfSchemeOptionResult omsConfSchemeOptionResult_8 = null;
                QueryConfItemMatchAnswerDetailReq queryConfItemMatchAnswerDetailReq_5 = new QueryConfItemMatchAnswerDetailReq();
                queryConfItemMatchAnswerDetailReq_5.setExtensionField1("0");//CUSTOM_CONVENTION//sourceId:1072545_1_46744
                queryConfItemMatchAnswerDetailReq_5.setConfSchemeCode("COM_CONF_SCHEME");//CUSTOM_CONVENTION//sourceId:1072534_1_46744
                queryConfItemMatchAnswerDetailReq_5.setIsPlatData("TRUE");//sourceId:1072535_1_46744
                queryConfItemMatchAnswerDetailReq_5.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1072536_1_46744
                if (receptionServiceRes_8 != null) {
                    queryConfItemMatchAnswerDetailReq_5.setConfItemCode(receptionServiceRes_8.getConfItemCode());//SimpleFieldAssign//sourceId:1072533_1_46744
                }

                /*2-3-07查默认首张背景图[2487]   */
                Assert.isNull(queryConfItemMatchAnswerDetailReq_5.getConfItemCode(), "D2获取进度用途类型背景图配置项标识(公共)-2-3-07查默认首张背景图-配置项标识不能为空", false);
                Assert.isNull(queryConfItemMatchAnswerDetailReq_5.getExtensionField1(), "D2获取进度用途类型背景图配置项标识(公共)-2-3-07查默认首张背景图-扩展字段1 （非必填）不能为空", false);
                Assert.isNull(queryConfItemMatchAnswerDetailReq_5.getConfSchemeCode(), "D2获取进度用途类型背景图配置项标识(公共)-2-3-07查默认首张背景图-配置方案标识不能为空", false);
                Assert.isNull(queryConfItemMatchAnswerDetailReq_5.getIsPlatData(), "D2获取进度用途类型背景图配置项标识(公共)-2-3-07查默认首张背景图-是否标准答案不能为空", false);
                Assert.isNull(queryConfItemMatchAnswerDetailReq_5.getSubjectLifeCycle(), "D2获取进度用途类型背景图配置项标识(公共)-2-3-07查默认首张背景图-主体生命周期不能为空", false);
                omsConfSchemeOptionResult_8 = mOmsConfSchemeOptionResultService.queryConfItemMatchAnswerDetail(queryConfItemMatchAnswerDetailReq_5)/*vcase invoke 本地 method 方法调用;*/;


                omsConfSchemeOptionResult_3 = omsConfSchemeOptionResult_8;
            }
        }
        ObtainProgressUseTypeBgConfCodeComRespDto retData = new ObtainProgressUseTypeBgConfCodeComRespDto();
        if (receptionServiceRes_1 != null) {
            retData.setConfItemCode(receptionServiceRes_1.getConfItemCode());//SimpleFieldAssign//sourceId:1070369_1
        }
        if (omsConfSchemeOptionResult_3 != null) {
            retData.setBackGroundAddress(omsConfSchemeOptionResult_3.getExtensionField2());//SimpleFieldAssign//sourceId:1072539_1
            retData.setExtensionField3(omsConfSchemeOptionResult_3.getExtensionField3());//SimpleFieldAssign//sourceId:1072540_1
        }


        return retData;
    }

    /**
     * D2-选项匹配结果扩展信息列表(公共)[7564]
     * gen by moon at 10/17/2023, 3:00:44 AM
     */
    @Trace(operationName = "D2-选项匹配结果扩展信息列表(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryOptionMatchResultExtendListComRespDto queryOptionMatchResultExtendListCom(QueryOptionMatchResultExtendListComReqDto reqDto) {


        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult_1 = new ArrayList<>();
//步骤0: 2-3-07查配置项匹配答案列表 - queryConfItemMatchAnswerList
        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult = new ArrayList<>();
        QueryConfItemMatchAnswerListReq queryConfItemMatchAnswerListReq = new QueryConfItemMatchAnswerListReq();
        queryConfItemMatchAnswerListReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1186194_1
        if (reqDto != null) {
            queryConfItemMatchAnswerListReq.setConfOptionCode(reqDto.getConfOptionCode());//SimpleFieldAssign//sourceId:1186190_1
            queryConfItemMatchAnswerListReq.setConfItemCode(reqDto.getConfItemCode());//SimpleFieldAssign//sourceId:1186191_1
            queryConfItemMatchAnswerListReq.setResultAspObjId(reqDto.getResultAspObjId());//SimpleFieldAssign//sourceId:1186192_1
            queryConfItemMatchAnswerListReq.setIsPlatData(reqDto.getIsPlatData());//SimpleFieldAssign//sourceId:1186193_1
            queryConfItemMatchAnswerListReq.setExtensionField1(reqDto.getExtensionField1());//SimpleFieldAssign//sourceId:1186198_1
            queryConfItemMatchAnswerListReq.setExtensionField2(reqDto.getExtensionField2());//SimpleFieldAssign//sourceId:1186199_1
        }

        /*2-3-07查配置项匹配答案列表[2506]   */

        listOmsConfSchemeOptionResult = mOmsConfSchemeOptionResultService.queryConfItemMatchAnswerList(queryConfItemMatchAnswerListReq)/*vcase invoke 本地 method 方法调用;*/;


        listOmsConfSchemeOptionResult_1 = listOmsConfSchemeOptionResult;

        QueryOptionMatchResultExtendListComRespDto retData = new QueryOptionMatchResultExtendListComRespDto();
        retData.setConfSchemeItemResultList(listOmsConfSchemeOptionResult_1.stream().map(item -> BeanUtil.toBean(item, ConfSchemeItemResultDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1186221_1


        return retData;
    }

    /**
     * D2查工作任务筛选条件列表[7742]
     * gen by moon at 11/13/2023, 9:40:02 PM
     */
    @Trace(operationName = "D2查工作任务筛选条件列表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryWorkTaskScreenConditionListRespDto queryWorkTaskScreenConditionList(QueryWorkTaskScreenConditionListReqDto reqDto) {


        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult_1 = new ArrayList<>();
        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult_3 = new ArrayList<>();
        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult_5 = new ArrayList<>();
        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult_7 = new ArrayList<>();
//步骤0: 2-3-07查配置项匹配答案列表 - queryConfItemMatchAnswerList
        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult = new ArrayList<>();
        QueryConfItemMatchAnswerListReq queryConfItemMatchAnswerListReq = new QueryConfItemMatchAnswerListReq();
        queryConfItemMatchAnswerListReq.setConfItemCode("WORK_TASK_ARRANGE_OBJECT_TYPE");//CUSTOM_CONVENTION//sourceId:1249238_1
        queryConfItemMatchAnswerListReq.setIsPlatData("FALSE");//sourceId:1249240_1
        queryConfItemMatchAnswerListReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1249241_1
        if (reqDto != null) {
            queryConfItemMatchAnswerListReq.setResultAspObjId(reqDto.getResultAspObjId());//SimpleFieldAssign//sourceId:1249239_1
        }

        /*2-3-07查工作任务对象类型配置列表[2506]   */
        Assert.isNull(queryConfItemMatchAnswerListReq.getResultAspObjId(), "D2查工作任务筛选条件列表-2-3-07查工作任务对象类型配置列表-开通对象ID不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerListReq.getConfItemCode(), "D2查工作任务筛选条件列表-2-3-07查工作任务对象类型配置列表-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerListReq.getIsPlatData(), "D2查工作任务筛选条件列表-2-3-07查工作任务对象类型配置列表-是否标准答案不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerListReq.getSubjectLifeCycle(), "D2查工作任务筛选条件列表-2-3-07查工作任务对象类型配置列表-主体生命周期不能为空", false);
        listOmsConfSchemeOptionResult = mOmsConfSchemeOptionResultService.queryConfItemMatchAnswerList(queryConfItemMatchAnswerListReq)/*vcase invoke 本地 method 方法调用;*/;


        listOmsConfSchemeOptionResult_1 = listOmsConfSchemeOptionResult;

//步骤1: 2-3-07查配置项匹配答案列表 - queryConfItemMatchAnswerList
        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult_2 = new ArrayList<>();
        QueryConfItemMatchAnswerListReq queryConfItemMatchAnswerListReq_1 = new QueryConfItemMatchAnswerListReq();
        queryConfItemMatchAnswerListReq_1.setConfItemCode("WORK_TASK_STATUS_SCREEN");//CUSTOM_CONVENTION//sourceId:1249295_1
        queryConfItemMatchAnswerListReq_1.setIsPlatData("FALSE");//sourceId:1249297_1
        queryConfItemMatchAnswerListReq_1.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1249298_1
        if (reqDto != null) {
            queryConfItemMatchAnswerListReq_1.setResultAspObjId(reqDto.getResultAspObjId());//SimpleFieldAssign//sourceId:1249296_1
        }

        /*2-3-07查工作状态筛选条件配置答案列表[2506]   */
        Assert.isNull(queryConfItemMatchAnswerListReq_1.getResultAspObjId(), "D2查工作任务筛选条件列表-2-3-07查工作状态筛选条件配置答案列表-开通对象ID不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerListReq_1.getConfItemCode(), "D2查工作任务筛选条件列表-2-3-07查工作状态筛选条件配置答案列表-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerListReq_1.getIsPlatData(), "D2查工作任务筛选条件列表-2-3-07查工作状态筛选条件配置答案列表-是否标准答案不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerListReq_1.getSubjectLifeCycle(), "D2查工作任务筛选条件列表-2-3-07查工作状态筛选条件配置答案列表-主体生命周期不能为空", false);
        listOmsConfSchemeOptionResult_2 = mOmsConfSchemeOptionResultService.queryConfItemMatchAnswerList(queryConfItemMatchAnswerListReq_1)/*vcase invoke 本地 method 方法调用;*/;


        listOmsConfSchemeOptionResult_3 = listOmsConfSchemeOptionResult_2;

//步骤2: 2-3-07查配置项匹配答案列表 - queryConfItemMatchAnswerList
        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult_4 = new ArrayList<>();
        QueryConfItemMatchAnswerListReq queryConfItemMatchAnswerListReq_2 = new QueryConfItemMatchAnswerListReq();
        queryConfItemMatchAnswerListReq_2.setConfItemCode("WORK_TASK_TYPE");//CUSTOM_CONVENTION//sourceId:1249301_1
        queryConfItemMatchAnswerListReq_2.setIsPlatData("FALSE");//sourceId:1249303_1
        queryConfItemMatchAnswerListReq_2.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1249304_1
        if (reqDto != null) {
            queryConfItemMatchAnswerListReq_2.setResultAspObjId(reqDto.getResultAspObjId());//SimpleFieldAssign//sourceId:1249302_1
        }

        /*2-3-07查工作任务类型配置答案列表[2506]   */
        Assert.isNull(queryConfItemMatchAnswerListReq_2.getResultAspObjId(), "D2查工作任务筛选条件列表-2-3-07查工作任务类型配置答案列表-开通对象ID不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerListReq_2.getConfItemCode(), "D2查工作任务筛选条件列表-2-3-07查工作任务类型配置答案列表-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerListReq_2.getIsPlatData(), "D2查工作任务筛选条件列表-2-3-07查工作任务类型配置答案列表-是否标准答案不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerListReq_2.getSubjectLifeCycle(), "D2查工作任务筛选条件列表-2-3-07查工作任务类型配置答案列表-主体生命周期不能为空", false);
        listOmsConfSchemeOptionResult_4 = mOmsConfSchemeOptionResultService.queryConfItemMatchAnswerList(queryConfItemMatchAnswerListReq_2)/*vcase invoke 本地 method 方法调用;*/;


        listOmsConfSchemeOptionResult_5 = listOmsConfSchemeOptionResult_4;

//步骤3: 2-3-07查配置项匹配答案列表 - queryConfItemMatchAnswerList
        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult_6 = new ArrayList<>();
        QueryConfItemMatchAnswerListReq queryConfItemMatchAnswerListReq_3 = new QueryConfItemMatchAnswerListReq();
        queryConfItemMatchAnswerListReq_3.setConfItemCode("WORK_TASK_ANGLE_SCREEN");//CUSTOM_CONVENTION//sourceId:1300477_1
        queryConfItemMatchAnswerListReq_3.setIsPlatData("FALSE");//sourceId:1300479_1
        queryConfItemMatchAnswerListReq_3.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1300480_1
        if (reqDto != null) {
            queryConfItemMatchAnswerListReq_3.setResultAspObjId(reqDto.getResultAspObjId());//SimpleFieldAssign//sourceId:1300478_1
        }

        /*2-3-07查工作任务视角筛选条件配置[2506]   */
        Assert.isNull(queryConfItemMatchAnswerListReq_3.getResultAspObjId(), "D2查工作任务筛选条件列表-2-3-07查工作任务视角筛选条件配置-开通对象ID不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerListReq_3.getConfItemCode(), "D2查工作任务筛选条件列表-2-3-07查工作任务视角筛选条件配置-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerListReq_3.getIsPlatData(), "D2查工作任务筛选条件列表-2-3-07查工作任务视角筛选条件配置-是否标准答案不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerListReq_3.getSubjectLifeCycle(), "D2查工作任务筛选条件列表-2-3-07查工作任务视角筛选条件配置-主体生命周期不能为空", false);
        listOmsConfSchemeOptionResult_6 = mOmsConfSchemeOptionResultService.queryConfItemMatchAnswerList(queryConfItemMatchAnswerListReq_3)/*vcase invoke 本地 method 方法调用;*/;


        listOmsConfSchemeOptionResult_7 = listOmsConfSchemeOptionResult_6;

        QueryWorkTaskScreenConditionListRespDto retData = new QueryWorkTaskScreenConditionListRespDto();
        retData.setObjectTypeList(//objList-to-objLists
                listOmsConfSchemeOptionResult_1.stream().map(item -> {
                    ObjectTypeDto elm = new ObjectTypeDto();
                    elm.setObjectTypeCode(item.getConfOptionCode());//SimpleFieldAssign//sourceId:257767_2
                    elm.setObjectTypeName(item.getEndValue());//SimpleFieldAssign//sourceId:257764_2
                    return elm;
                }).collect(Collectors.toList()));//objList-to-objLists//sourceId:1249244_1
        retData.setTaskStatusList(//objList-to-objLists
                listOmsConfSchemeOptionResult_3.stream().map(item -> {
                    TaskStatusDto elm = new TaskStatusDto();
                    elm.setTaskStatusCode(item.getConfOptionCode());//SimpleFieldAssign//sourceId:257772_2
                    elm.setTaskStatusName(item.getEndValue());//SimpleFieldAssign//sourceId:257771_2
                    elm.setIsRetract(item.getExtensionField1());//SimpleFieldAssign//sourceId:257773_2
                    return elm;
                }).collect(Collectors.toList()));//objList-to-objLists//sourceId:1249300_1
        retData.setWorkTaskTypeList(//objList-to-objLists
                listOmsConfSchemeOptionResult_5.stream().map(item -> {
                    WorkTaskTypeDto elm = new WorkTaskTypeDto();
                    elm.setWorkTaskTypeCode(item.getConfOptionCode());//SimpleFieldAssign//sourceId:257785_2
                    elm.setWorkTaskTypeName(item.getEndValue());//SimpleFieldAssign//sourceId:257786_2
                    return elm;
                }).collect(Collectors.toList()));//objList-to-objLists//sourceId:1249306_1
        retData.setAngleScreenList(//objList-to-objLists
                listOmsConfSchemeOptionResult_7.stream().map(item -> {
                    AngleScreenDto elm = new AngleScreenDto();
                    elm.setAngleScreenCode(item.getConfOptionCode());//SimpleFieldAssign//sourceId:266303_2
                    elm.setAngleScreenName(item.getEndValue());//SimpleFieldAssign//sourceId:266304_2
                    return elm;
                }).collect(Collectors.toList()));//objList-to-objLists//sourceId:1300482_1


        return retData;
    }

    /**
     * D2查问题筛选条件列表[7743]
     * gen by moon at 11/13/2023, 9:40:10 PM
     */
    @Trace(operationName = "D2查问题筛选条件列表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryQuestionScreenConditionListRespDto queryQuestionScreenConditionList(QueryQuestionScreenConditionListReqDto reqDto) {


        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult_1 = new ArrayList<>();
        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult_3 = new ArrayList<>();
        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult_5 = new ArrayList<>();
//步骤0: 2-3-07查配置项匹配答案列表 - queryConfItemMatchAnswerList
        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult = new ArrayList<>();
        QueryConfItemMatchAnswerListReq queryConfItemMatchAnswerListReq = new QueryConfItemMatchAnswerListReq();
        queryConfItemMatchAnswerListReq.setConfItemCode("QUESTION_OBJECT_TYPE");//CUSTOM_CONVENTION//sourceId:1248581_1
        queryConfItemMatchAnswerListReq.setIsPlatData("FALSE");//sourceId:1248584_1
        queryConfItemMatchAnswerListReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1248583_1
        if (reqDto != null) {
            queryConfItemMatchAnswerListReq.setResultAspObjId(reqDto.getResultAspObjId());//SimpleFieldAssign//sourceId:1248582_1
        }

        /*2-3-07查问题对象类型配置答案列表[2506]   */
        Assert.isNull(queryConfItemMatchAnswerListReq.getResultAspObjId(), "D2查问题筛选条件列表-2-3-07查问题对象类型配置答案列表-开通对象ID不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerListReq.getConfItemCode(), "D2查问题筛选条件列表-2-3-07查问题对象类型配置答案列表-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerListReq.getIsPlatData(), "D2查问题筛选条件列表-2-3-07查问题对象类型配置答案列表-是否标准答案不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerListReq.getSubjectLifeCycle(), "D2查问题筛选条件列表-2-3-07查问题对象类型配置答案列表-主体生命周期不能为空", false);
        listOmsConfSchemeOptionResult = mOmsConfSchemeOptionResultService.queryConfItemMatchAnswerList(queryConfItemMatchAnswerListReq)/*vcase invoke 本地 method 方法调用;*/;


        listOmsConfSchemeOptionResult_1 = listOmsConfSchemeOptionResult;

//步骤1: 2-3-07查配置项匹配答案列表 - queryConfItemMatchAnswerList
        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult_2 = new ArrayList<>();
        QueryConfItemMatchAnswerListReq queryConfItemMatchAnswerListReq_1 = new QueryConfItemMatchAnswerListReq();
        queryConfItemMatchAnswerListReq_1.setConfItemCode("QUESTION_STATUS_SCREEN");//CUSTOM_CONVENTION//sourceId:1248609_1
        queryConfItemMatchAnswerListReq_1.setIsPlatData("FALSE");//sourceId:1248611_1
        queryConfItemMatchAnswerListReq_1.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1248612_1
        if (reqDto != null) {
            queryConfItemMatchAnswerListReq_1.setResultAspObjId(reqDto.getResultAspObjId());//SimpleFieldAssign//sourceId:1248610_1
        }

        /*2-3-07查问题状态筛选条件配置答案列表[2506]   */
        Assert.isNull(queryConfItemMatchAnswerListReq_1.getResultAspObjId(), "D2查问题筛选条件列表-2-3-07查问题状态筛选条件配置答案列表-开通对象ID不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerListReq_1.getConfItemCode(), "D2查问题筛选条件列表-2-3-07查问题状态筛选条件配置答案列表-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerListReq_1.getIsPlatData(), "D2查问题筛选条件列表-2-3-07查问题状态筛选条件配置答案列表-是否标准答案不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerListReq_1.getSubjectLifeCycle(), "D2查问题筛选条件列表-2-3-07查问题状态筛选条件配置答案列表-主体生命周期不能为空", false);
        listOmsConfSchemeOptionResult_2 = mOmsConfSchemeOptionResultService.queryConfItemMatchAnswerList(queryConfItemMatchAnswerListReq_1)/*vcase invoke 本地 method 方法调用;*/;


        listOmsConfSchemeOptionResult_3 = listOmsConfSchemeOptionResult_2;

//步骤2: 2-3-07查配置项匹配答案列表 - queryConfItemMatchAnswerList
        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult_4 = new ArrayList<>();
        QueryConfItemMatchAnswerListReq queryConfItemMatchAnswerListReq_2 = new QueryConfItemMatchAnswerListReq();
        queryConfItemMatchAnswerListReq_2.setConfItemCode("QUESTION_ANGLE_SCREEN");//CUSTOM_CONVENTION//sourceId:1300445_1
        queryConfItemMatchAnswerListReq_2.setIsPlatData("FALSE");//sourceId:1300447_1
        queryConfItemMatchAnswerListReq_2.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1300448_1
        if (reqDto != null) {
            queryConfItemMatchAnswerListReq_2.setResultAspObjId(reqDto.getResultAspObjId());//SimpleFieldAssign//sourceId:1300446_1
        }

        /*2-3-07查问题视角筛选条件配置列表[2506]   */
        Assert.isNull(queryConfItemMatchAnswerListReq_2.getResultAspObjId(), "D2查问题筛选条件列表-2-3-07查问题视角筛选条件配置列表-开通对象ID不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerListReq_2.getConfItemCode(), "D2查问题筛选条件列表-2-3-07查问题视角筛选条件配置列表-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerListReq_2.getIsPlatData(), "D2查问题筛选条件列表-2-3-07查问题视角筛选条件配置列表-是否标准答案不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerListReq_2.getSubjectLifeCycle(), "D2查问题筛选条件列表-2-3-07查问题视角筛选条件配置列表-主体生命周期不能为空", false);
        listOmsConfSchemeOptionResult_4 = mOmsConfSchemeOptionResultService.queryConfItemMatchAnswerList(queryConfItemMatchAnswerListReq_2)/*vcase invoke 本地 method 方法调用;*/;


        listOmsConfSchemeOptionResult_5 = listOmsConfSchemeOptionResult_4;

        QueryQuestionScreenConditionListRespDto retData = new QueryQuestionScreenConditionListRespDto();
        retData.setObjectTypeList(//objList-to-objLists
                listOmsConfSchemeOptionResult_1.stream().map(item -> {
                    ObjectTypeDto elm = new ObjectTypeDto();
                    elm.setObjectTypeCode(item.getConfOptionCode());//SimpleFieldAssign//sourceId:257718_2
                    elm.setObjectTypeName(item.getEndValue());//SimpleFieldAssign//sourceId:257717_2
                    return elm;
                }).collect(Collectors.toList()));//objList-to-objLists//sourceId:1248614_1
        retData.setQuestionStatusList(//objList-to-objLists
                listOmsConfSchemeOptionResult_3.stream().map(item -> {
                    QuestionStatusDto elm = new QuestionStatusDto();
                    elm.setQuestionStatusCode(item.getConfOptionCode());//SimpleFieldAssign//sourceId:257621_2
                    elm.setQuestionStatusName(item.getEndValue());//SimpleFieldAssign//sourceId:257620_2
                    elm.setIsRetract(item.getExtensionField1());//SimpleFieldAssign//sourceId:257622_2
                    return elm;
                }).collect(Collectors.toList()));//objList-to-objLists//sourceId:1248615_1
        retData.setAngleScreenList(//objList-to-objLists
                listOmsConfSchemeOptionResult_5.stream().map(item -> {
                    AngleScreenDto elm = new AngleScreenDto();
                    elm.setAngleScreenCode(item.getConfOptionCode());//SimpleFieldAssign//sourceId:266285_2
                    elm.setAngleScreenName(item.getEndValue());//SimpleFieldAssign//sourceId:266282_2
                    return elm;
                }).collect(Collectors.toList()));//objList-to-objLists//sourceId:1300451_1


        return retData;
    }

    /**
     * D2查询配置项详情(公共)[8110]
     * gen by moon at 12/9/2023, 3:24:25 PM
     */
    @Trace(operationName = "D2查询配置项详情(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryConfItemDetailComRespDto queryConfItemDetailCom(QueryConfItemDetailComReqDto reqDto) {


        OmsConfItem omsConfItem_1 = null;
//步骤0: 2-3-02查询配置项详情 - queryConfItemDetail
        OmsConfItem omsConfItem = null;
        QueryConfItemDetailReq queryConfItemDetailReq = new QueryConfItemDetailReq();
        if (reqDto != null) {
            queryConfItemDetailReq.setConfItemId(reqDto.getConfItemId());//SimpleFieldAssign//sourceId:1396420_1
            queryConfItemDetailReq.setConfItemCode(reqDto.getConfItemCode());//SimpleFieldAssign//sourceId:1396444_1
            queryConfItemDetailReq.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1396421_1
        }

        /*2-3-02查询配置项详情[1905]   */

        omsConfItem = mOmsConfItemService.queryConfItemDetail(queryConfItemDetailReq)/*vcase invoke 本地 method 方法调用;*/;


        omsConfItem_1 = omsConfItem;

        QueryConfItemDetailComRespDto retData = new QueryConfItemDetailComRespDto();
        if (omsConfItem_1 != null) {
            retData.setConfItemId(omsConfItem_1.getConfItemId());//SimpleFieldAssign//sourceId:1396454_1
            retData.setConfItemCode(omsConfItem_1.getConfItemCode());//SimpleFieldAssign//sourceId:1396455_1
            retData.setConfItemName(omsConfItem_1.getConfItemName());//SimpleFieldAssign//sourceId:1396456_1
            retData.setShortName(omsConfItem_1.getShortName());//SimpleFieldAssign//sourceId:1396457_1
            retData.setConfItemDes(omsConfItem_1.getConfItemDes());//SimpleFieldAssign//sourceId:1396458_1
        }


        return retData;
    }

    /**
     * D2查询消息发送方配置答案(公共)[8232]
     * gen by moon at 12/30/2023, 4:49:46 PM
     */
    @Trace(operationName = "D2查询消息发送方配置答案(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryMessageSenderConfAnswerDetailComRespDto queryMessageSenderConfAnswerDetailCom(QueryMessageSenderConfAnswerDetailComReqDto reqDto) {


        ImplementSmartSessionReceiveFieldInputRespDto receptionServiceRes_2 = null;
//步骤0: M2获取接收字段 - obtainReceiveFields
        //ModelCode: receptionService
        ObtainReceiveFieldsRespDto receptionServiceRes = null;
        ObtainReceiveFieldsReqDto receptionServiceReq = new ObtainReceiveFieldsReqDto();
        if (reqDto != null) {
            receptionServiceReq.setSendMsgScene(reqDto.getSendMsgScene());//SimpleFieldAssign//sourceId:1449631_1
        }

        /*M2接收字段[4007]  用于特殊方法接收上游入参。 */
        Assert.isNull(receptionServiceReq.getSendMsgScene(), "D2查询消息发送方配置答案(公共)-M2接收字段-发送消息场景不能为空", false);
        receptionServiceRes = nbConfScheme.obtainReceiveFields(receptionServiceReq);


//步骤1: 2-3-07查配置项匹配答案详情 - queryConfItemMatchAnswerDetail
        OmsConfSchemeOptionResult omsConfSchemeOptionResult = null;
        QueryConfItemMatchAnswerDetailReq queryConfItemMatchAnswerDetailReq = new QueryConfItemMatchAnswerDetailReq();
        queryConfItemMatchAnswerDetailReq.setConfSchemeCode("COM_CONF_SCHEME");//CUSTOM_CONVENTION//sourceId:1452800_1
        queryConfItemMatchAnswerDetailReq.setConfItemCode("MESSAGE_SENDER_CONF");//CUSTOM_CONVENTION//sourceId:1448732_1
        queryConfItemMatchAnswerDetailReq.setIsPlatData("TRUE");//sourceId:1448736_1
        queryConfItemMatchAnswerDetailReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1448738_1
        if (reqDto != null) {
            queryConfItemMatchAnswerDetailReq.setConfOptionCode(reqDto.getSendMsgScene());//SimpleFieldAssign//sourceId:1450197_1
        }

        /*2-3-07查消息发送方配置答案[2487]   */
        Assert.isNull(queryConfItemMatchAnswerDetailReq.getConfOptionCode(), "D2查询消息发送方配置答案(公共)-2-3-07查消息发送方配置答案-选项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailReq.getConfSchemeCode(), "D2查询消息发送方配置答案(公共)-2-3-07查消息发送方配置答案-配置方案标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailReq.getConfItemCode(), "D2查询消息发送方配置答案(公共)-2-3-07查消息发送方配置答案-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailReq.getIsPlatData(), "D2查询消息发送方配置答案(公共)-2-3-07查消息发送方配置答案-是否标准答案不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailReq.getSubjectLifeCycle(), "D2查询消息发送方配置答案(公共)-2-3-07查消息发送方配置答案-主体生命周期不能为空", false);
        omsConfSchemeOptionResult = mOmsConfSchemeOptionResultService.queryConfItemMatchAnswerDetail(queryConfItemMatchAnswerDetailReq)/*vcase invoke 本地 method 方法调用;*/;


//步骤2: M2执行智能沟通接收入参 - implementSmartSessionReceiveFieldInput
        //ModelCode: receptionService
        ImplementSmartSessionReceiveFieldInputRespDto receptionServiceRes_1 = null;
        if (omsConfSchemeOptionResult != null) {
            ImplementSmartSessionReceiveFieldInputReqDto receptionServiceReq_1 = new ImplementSmartSessionReceiveFieldInputReqDto();
            if (omsConfSchemeOptionResult != null) {
                receptionServiceReq_1.setMessageSenderType(omsConfSchemeOptionResult.getEndValue());//SimpleFieldAssign//sourceId:1449628_1
                receptionServiceReq_1.setRoleCode(omsConfSchemeOptionResult.getExtensionField1());//SimpleFieldAssign//sourceId:1449627_1
                receptionServiceReq_1.setTemplateSemanticEngineCode(omsConfSchemeOptionResult.getExtensionField2());//SimpleFieldAssign//sourceId:1450203_1
                receptionServiceReq_1.setSmsBehaviorType(omsConfSchemeOptionResult.getExtensionField3());//SimpleFieldAssign//sourceId:1450204_1
            }

            /*M2接收消息发送方配置答案[8109]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_1.getMessageSenderType(), "D2查询消息发送方配置答案(公共)-M2接收消息发送方配置答案-消息发送方类型不能为空", false);
            Assert.isNull(receptionServiceReq_1.getTemplateSemanticEngineCode(), "D2查询消息发送方配置答案(公共)-M2接收消息发送方配置答案-模板引擎标识不能为空", false);
            receptionServiceRes_1 = nbConfScheme.implementSmartSessionReceiveFieldInput(receptionServiceReq_1);


            receptionServiceRes_2 = receptionServiceRes_1;
        }

        QueryMessageSenderConfAnswerDetailComRespDto retData = new QueryMessageSenderConfAnswerDetailComRespDto();
        if (receptionServiceRes_2 != null) {
            retData.setMessageSenderType(receptionServiceRes_2.getMessageSenderType());//SimpleFieldAssign//sourceId:1449634_1
            retData.setRoleCode(receptionServiceRes_2.getRoleCode());//SimpleFieldAssign//sourceId:1449635_1
            retData.setTemplateSemanticEngineCode(receptionServiceRes_2.getTemplateSemanticEngineCode());//SimpleFieldAssign//sourceId:1450207_1
            retData.setSmsBehaviorType(receptionServiceRes_2.getSmsBehaviorType());//SimpleFieldAssign//sourceId:1450208_1
        }


        return retData;
    }

    /**
     * D2准备评价模板配置入参(公共)[8567]
     * gen by moon at 5/8/2025, 8:43:29 PM
     */
    @Trace(operationName = "D2准备评价模板配置入参(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public ImplementPreEvaTempConfEntParameterComRespDto implementPreEvaTempConfEntParameterCom(ImplementPreEvaTempConfEntParameterComReqDto reqDto) {


        QueryClassMatchResultToAnswerDetailComRespDto queryClassMatchResultToAnswerDetailComRespDto_1 = null;
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_1 = null;
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_3 = null;
        PreparationEvaTempCorrelationConfComRespDto preparationEvaTempCorrelationConfComRespDto_1 = null;
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_5 = null;
        ImplementTenReceivingFieldRespDto receptionServiceRes_2 = null;
//步骤0: M2执行智能沟通接收入参 - implementSmartSessionReceiveFieldInput
        //ModelCode: receptionService
        ImplementSmartSessionReceiveFieldInputRespDto receptionServiceRes = null;
        ImplementSmartSessionReceiveFieldInputReqDto receptionServiceReq = new ImplementSmartSessionReceiveFieldInputReqDto();
        if (reqDto != null) {
            receptionServiceReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1570980_1
            receptionServiceReq.setEvaluationSubjectId(reqDto.getEvaluationSubjectId());//SimpleFieldAssign//sourceId:1570981_1
            receptionServiceReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1570982_1
        }

        /*M2接收字段[8109]  用于特殊方法接收上游入参。 */
        Assert.isNull(receptionServiceReq.getEvaluationTemplateId(), "D2准备评价模板配置入参(公共)-M2接收字段-评价模板ID不能为空", false);
        Assert.isNull(receptionServiceReq.getEvaluationSubjectId(), "D2准备评价模板配置入参(公共)-M2接收字段-评价主题ID不能为空", false);
        Assert.isNull(receptionServiceReq.getSpaceId(), "D2准备评价模板配置入参(公共)-M2接收字段-创建于空间ID不能为空", false);
        receptionServiceRes = nbConfScheme.implementSmartSessionReceiveFieldInput(receptionServiceReq);


//步骤1: D2-3查询分组匹配结果转答案(公共)(跨服务） - queryClassMatchResultToAnswerDetailCom
        QueryClassMatchResultToAnswerDetailComRespDto queryClassMatchResultToAnswerDetailComRespDto = null;
        QueryClassMatchResultToAnswerDetailComReqDto queryClassMatchResultToAnswerDetailComReqDto = new QueryClassMatchResultToAnswerDetailComReqDto();
        queryClassMatchResultToAnswerDetailComReqDto.setResultAspObjType("EVA_THEME");//sourceId:1831422_1
        queryClassMatchResultToAnswerDetailComReqDto.setConfItemClassCode("FINANCE_GROUP");//CUSTOM_CONVENTION//sourceId:1570987_1
        queryClassMatchResultToAnswerDetailComReqDto.setIsSingleResult("TRUE");//sourceId:1571067_1
        queryClassMatchResultToAnswerDetailComReqDto.setIsPlatData("FALSE");//sourceId:1571066_1
        if (reqDto != null) {
            queryClassMatchResultToAnswerDetailComReqDto.setResultAspObjId(reqDto.getEvaluationSubjectId());//SimpleFieldAssign//sourceId:1571020_1
        }

        /*D2查评价主题财务配置分组答案(公共）[3088]   */
        Assert.isNull(queryClassMatchResultToAnswerDetailComReqDto.getResultAspObjId(), "D2准备评价模板配置入参(公共)-D2查评价主题财务配置分组答案(公共）-开通对象ID不能为空", false);
        Assert.isNull(queryClassMatchResultToAnswerDetailComReqDto.getResultAspObjType(), "D2准备评价模板配置入参(公共)-D2查评价主题财务配置分组答案(公共）-开通对象类型编码不能为空", false);
        Assert.isNull(queryClassMatchResultToAnswerDetailComReqDto.getConfItemClassCode(), "D2准备评价模板配置入参(公共)-D2查评价主题财务配置分组答案(公共）-分组标识不能为空", false);
        Assert.isNull(queryClassMatchResultToAnswerDetailComReqDto.getIsSingleResult(), "D2准备评价模板配置入参(公共)-D2查评价主题财务配置分组答案(公共）-是否单一答案不能为空", false);
        Assert.isNull(queryClassMatchResultToAnswerDetailComReqDto.getIsPlatData(), "D2准备评价模板配置入参(公共)-D2查评价主题财务配置分组答案(公共）-是否标准答案不能为空", false);
        queryClassMatchResultToAnswerDetailComRespDto = queryClassMatchResultToAnswerDetailCom(queryClassMatchResultToAnswerDetailComReqDto)/*vcase invoke 同服务,同domain*/;
        Assert.isTrue(queryClassMatchResultToAnswerDetailComRespDto == null || queryClassMatchResultToAnswerDetailComRespDto.getIsOpenBudget() == null || queryClassMatchResultToAnswerDetailComRespDto == null || queryClassMatchResultToAnswerDetailComRespDto.getIsOpenBudgetReport() == null || queryClassMatchResultToAnswerDetailComRespDto == null || queryClassMatchResultToAnswerDetailComRespDto.getIsAllowBudgetOverruns() == null, "找不到数据，系统异常", false);

        queryClassMatchResultToAnswerDetailComRespDto_1 = queryClassMatchResultToAnswerDetailComRespDto;

//步骤2: D2-3查配置项匹配答案详情(公共)（跨服务） - queryConfItemMatchAnswerDetailCom
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto = null;
        QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto = new QueryConfItemMatchAnswerDetailComReqDto();
        queryConfItemMatchAnswerDetailComReqDto.setResultAspObjType("EVA_THEME");//sourceId:1831423_1
        queryConfItemMatchAnswerDetailComReqDto.setConfItemCode("CASH_ACCOUNT_UNIT");//CUSTOM_CONVENTION//sourceId:1571126_1
        queryConfItemMatchAnswerDetailComReqDto.setIsPlatData("FALSE");//sourceId:1571127_1
        if (reqDto != null) {
            queryConfItemMatchAnswerDetailComReqDto.setResultAspObjId(reqDto.getEvaluationSubjectId());//SimpleFieldAssign//sourceId:1571125_1
        }

        /*D2查评价主题下资金单位配置答案(公共)[2486]   */
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getResultAspObjId(), "D2准备评价模板配置入参(公共)-D2查评价主题下资金单位配置答案(公共)-开通对象ID不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getResultAspObjType(), "D2准备评价模板配置入参(公共)-D2查评价主题下资金单位配置答案(公共)-开通对象类型编码不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getConfItemCode(), "D2准备评价模板配置入参(公共)-D2查评价主题下资金单位配置答案(公共)-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getIsPlatData(), "D2准备评价模板配置入参(公共)-D2查评价主题下资金单位配置答案(公共)-是否标准答案不能为空", false);
        queryConfItemMatchAnswerDetailComRespDto = queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto)/*vcase invoke 同服务,同domain*/;
        Assert.isTrue(queryConfItemMatchAnswerDetailComRespDto == null || queryConfItemMatchAnswerDetailComRespDto.getConfOptionName() == null, "找不到数据，系统异常", false);

        queryConfItemMatchAnswerDetailComRespDto_1 = queryConfItemMatchAnswerDetailComRespDto;

//步骤3: D2-3查配置项匹配答案详情(公共)（跨服务） - queryConfItemMatchAnswerDetailCom
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_2 = null;
        QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto_1 = new QueryConfItemMatchAnswerDetailComReqDto();
        queryConfItemMatchAnswerDetailComReqDto_1.setResultAspObjType("TENANT_SPACE");//sourceId:1831424_1
        queryConfItemMatchAnswerDetailComReqDto_1.setConfItemCode("IS_OPEN_FINANCE");//CUSTOM_CONVENTION//sourceId:1571156_1
        queryConfItemMatchAnswerDetailComReqDto_1.setIsPlatData("FALSE");//sourceId:1571157_1
        if (reqDto != null) {
            queryConfItemMatchAnswerDetailComReqDto_1.setResultAspObjId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1571155_1
        }

        /*D2查空间启用财务管理模式答案（公共）[2486]   */
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_1.getResultAspObjId(), "D2准备评价模板配置入参(公共)-D2查空间启用财务管理模式答案（公共）-开通对象ID不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_1.getResultAspObjType(), "D2准备评价模板配置入参(公共)-D2查空间启用财务管理模式答案（公共）-开通对象类型编码不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_1.getConfItemCode(), "D2准备评价模板配置入参(公共)-D2查空间启用财务管理模式答案（公共）-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_1.getIsPlatData(), "D2准备评价模板配置入参(公共)-D2查空间启用财务管理模式答案（公共）-是否标准答案不能为空", false);
        queryConfItemMatchAnswerDetailComRespDto_2 = queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto_1)/*vcase invoke 同服务,同domain*/;
        Assert.isTrue(queryConfItemMatchAnswerDetailComRespDto_2 == null || queryConfItemMatchAnswerDetailComRespDto_2.getEndValue() == null, "找不到数据，系统异常", false);

        queryConfItemMatchAnswerDetailComRespDto_3 = queryConfItemMatchAnswerDetailComRespDto_2;

//步骤4: D2准备评价模板相关配置(公共) - preparationEvaTempCorrelationConfCom
        PreparationEvaTempCorrelationConfComRespDto preparationEvaTempCorrelationConfComRespDto = null;
        PreparationEvaTempCorrelationConfComReqDto preparationEvaTempCorrelationConfComReqDto = new PreparationEvaTempCorrelationConfComReqDto();
        if (reqDto != null) {
            preparationEvaTempCorrelationConfComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1609878_1
        }

        /*D2准备评价模板相关配置(公共)[8572]   */
        Assert.isNull(preparationEvaTempCorrelationConfComReqDto.getEvaluationTemplateId(), "D2准备评价模板配置入参(公共)-D2准备评价模板相关配置(公共)-评价模板ID不能为空", false);
        preparationEvaTempCorrelationConfComRespDto = preparationEvaTempCorrelationConfCom(preparationEvaTempCorrelationConfComReqDto)/*vcase invoke 同服务,同domain*/;


        preparationEvaTempCorrelationConfComRespDto_1 = preparationEvaTempCorrelationConfComRespDto;

//步骤5: D2-3查配置项匹配答案详情(公共)（跨服务） - queryConfItemMatchAnswerDetailCom
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_4 = null;
        QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto_2 = new QueryConfItemMatchAnswerDetailComReqDto();
        queryConfItemMatchAnswerDetailComReqDto_2.setConfItemCode("IS_OPEN_SYMBOLIC_ACHIEVEMENTS");//CUSTOM_CONVENTION//sourceId:1709469_1
        queryConfItemMatchAnswerDetailComReqDto_2.setIsPlatData("FALSE");//sourceId:1709470_1
        if (reqDto != null) {
            queryConfItemMatchAnswerDetailComReqDto_2.setResultAspObjId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1709468_1
        }

        /*D2-3查是否开启标志性成果[2486]   */
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_2.getResultAspObjId(), "D2准备评价模板配置入参(公共)-D2-3查是否开启标志性成果-开通对象ID不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_2.getConfItemCode(), "D2准备评价模板配置入参(公共)-D2-3查是否开启标志性成果-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_2.getIsPlatData(), "D2准备评价模板配置入参(公共)-D2-3查是否开启标志性成果-是否标准答案不能为空", false);
        queryConfItemMatchAnswerDetailComRespDto_4 = queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto_2)/*vcase invoke 同服务,同domain*/;


        queryConfItemMatchAnswerDetailComRespDto_5 = queryConfItemMatchAnswerDetailComRespDto_4;

//步骤6: D2-3查配置项匹配答案详情(公共)（跨服务） - queryConfItemMatchAnswerDetailCom
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_6 = null;
        QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto_3 = new QueryConfItemMatchAnswerDetailComReqDto();
        queryConfItemMatchAnswerDetailComReqDto_3.setConfItemCode("CALC_AND_REFRESH_DATA_TYPE");//CUSTOM_CONVENTION//sourceId:1857507_1
        queryConfItemMatchAnswerDetailComReqDto_3.setConfSchemeCode("COM_CONF_SCHEME");//CUSTOM_CONVENTION//sourceId:1857508_1
        queryConfItemMatchAnswerDetailComReqDto_3.setIsPlatData("TRUE");//sourceId:1857509_1

        /*D2查平台配置-计算与刷新财务数据类型[2486]   */
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_3.getConfItemCode(), "D2准备评价模板配置入参(公共)-D2查平台配置-计算与刷新财务数据类型-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_3.getConfSchemeCode(), "D2准备评价模板配置入参(公共)-D2查平台配置-计算与刷新财务数据类型-配置方案标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_3.getIsPlatData(), "D2准备评价模板配置入参(公共)-D2查平台配置-计算与刷新财务数据类型-是否标准答案不能为空", false);
        queryConfItemMatchAnswerDetailComRespDto_6 = queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto_3)/*vcase invoke 同服务,同domain*/;


//步骤7: D2-3查配置项匹配答案详情(公共)（跨服务） - queryConfItemMatchAnswerDetailCom
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_8 = null;
        QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto_4 = new QueryConfItemMatchAnswerDetailComReqDto();
        queryConfItemMatchAnswerDetailComReqDto_4.setResultAspObjType("TENANT_SPACE");//sourceId:2041246_1
        queryConfItemMatchAnswerDetailComReqDto_4.setConfItemCode("IS_OPEN_MQ");//CUSTOM_CONVENTION//sourceId:2041247_1
        queryConfItemMatchAnswerDetailComReqDto_4.setIsPlatData("FALSE");//sourceId:2041248_1
        if (reqDto != null) {
            queryConfItemMatchAnswerDetailComReqDto_4.setResultAspObjId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:2041245_1
        }

        /*D2查空间是否开启MQ消息队列[2486]   */
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_4.getResultAspObjId(), "D2准备评价模板配置入参(公共)-D2查空间是否开启MQ消息队列-开通对象ID不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_4.getResultAspObjType(), "D2准备评价模板配置入参(公共)-D2查空间是否开启MQ消息队列-开通对象类型编码不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_4.getConfItemCode(), "D2准备评价模板配置入参(公共)-D2查空间是否开启MQ消息队列-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_4.getIsPlatData(), "D2准备评价模板配置入参(公共)-D2查空间是否开启MQ消息队列-是否标准答案不能为空", false);
        queryConfItemMatchAnswerDetailComRespDto_8 = queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto_4)/*vcase invoke 同服务,同domain*/;


//步骤8: M2执行第十接收字段（特殊方法） - implementTenReceivingField
        //ModelCode: receptionService
        ImplementTenReceivingFieldRespDto receptionServiceRes_1 = null;
        if (queryConfItemMatchAnswerDetailComRespDto_6 != null) {
            ImplementTenReceivingFieldReqDto receptionServiceReq_1 = new ImplementTenReceivingFieldReqDto();
            if (queryConfItemMatchAnswerDetailComRespDto_6 != null) {
                receptionServiceReq_1.setIsOpenDataCalc(queryConfItemMatchAnswerDetailComRespDto_6.getEndValue());//SimpleFieldAssign//sourceId:1862403_1
            }
            if (queryConfItemMatchAnswerDetailComRespDto_8 != null) {
                receptionServiceReq_1.setIsOpenMq(queryConfItemMatchAnswerDetailComRespDto_8.getEndValue());//SimpleFieldAssign//sourceId:2041252_1
            }

            /*M2接收出参[8782]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_1.getIsOpenDataCalc(), "D2准备评价模板配置入参(公共)-M2接收出参-审核是否开启数据计算不能为空", false);
            Assert.isNull(receptionServiceReq_1.getIsOpenMq(), "D2准备评价模板配置入参(公共)-M2接收出参-是否开启MQ消息队列不能为空", false);
            receptionServiceRes_1 = nbConfScheme.implementTenReceivingField(receptionServiceReq_1);


            receptionServiceRes_2 = receptionServiceRes_1;
        }

        ImplementPreEvaTempConfEntParameterComRespDto retData = new ImplementPreEvaTempConfEntParameterComRespDto();
        if (queryClassMatchResultToAnswerDetailComRespDto_1 != null) {
            retData.setIsOpenBudget(queryClassMatchResultToAnswerDetailComRespDto_1.getIsOpenBudget());//SimpleFieldAssign//sourceId:1571129_1
            retData.setIsOpenBudgetReport(queryClassMatchResultToAnswerDetailComRespDto_1.getIsOpenBudgetReport());//SimpleFieldAssign//sourceId:1571130_1
            retData.setBudgetReportHierarchy(queryClassMatchResultToAnswerDetailComRespDto_1.getBudgetReportHierarchy());//SimpleFieldAssign//sourceId:1919553_1
            retData.setUseAccountSubjectType(queryClassMatchResultToAnswerDetailComRespDto_1.getUseAccountSubjectType());//SimpleFieldAssign//sourceId:1571131_1
            retData.setIsOpenFundsArrival(queryClassMatchResultToAnswerDetailComRespDto_1.getIsOpenFundsArrival());//SimpleFieldAssign//sourceId:1571132_1
            retData.setIsAllowBudgetOverruns(queryClassMatchResultToAnswerDetailComRespDto_1.getIsAllowBudgetOverruns());//SimpleFieldAssign//sourceId:1571133_1
        }
        if (queryConfItemMatchAnswerDetailComRespDto_1 != null) {
            retData.setCashAccountUnit(queryConfItemMatchAnswerDetailComRespDto_1.getConfOptionName());//SimpleFieldAssign//sourceId:1571134_1
        }
        if (queryConfItemMatchAnswerDetailComRespDto_3 != null) {
            retData.setIsOpenFinance(queryConfItemMatchAnswerDetailComRespDto_3.getEndValue());//SimpleFieldAssign//sourceId:1571159_1
        }
        if (preparationEvaTempCorrelationConfComRespDto_1 != null) {
            retData.setSchemeDataPara(preparationEvaTempCorrelationConfComRespDto_1.getSchemeDataPara());//SimpleFieldAssign//sourceId:1611763_1
            retData.setIsOkrPlanScene(preparationEvaTempCorrelationConfComRespDto_1.getIsOkrPlanScene());//SimpleFieldAssign//sourceId:1611764_1
            retData.setReportType(preparationEvaTempCorrelationConfComRespDto_1.getReportType());//SimpleFieldAssign//sourceId:1611765_1
            retData.setCycleMode(preparationEvaTempCorrelationConfComRespDto_1.getCycleMode());//SimpleFieldAssign//sourceId:1611766_1
            retData.setFatherCycleType(preparationEvaTempCorrelationConfComRespDto_1.getFatherCycleType());//SimpleFieldAssign//sourceId:1611767_1
            retData.setSubcycleType(preparationEvaTempCorrelationConfComRespDto_1.getSubcycleType());//SimpleFieldAssign//sourceId:1611768_1
            retData.setMidCycleType(preparationEvaTempCorrelationConfComRespDto_1.getMidCycleType());//SimpleFieldAssign//sourceId:1611769_1
            retData.setOpenMidCycle(preparationEvaTempCorrelationConfComRespDto_1.getOpenMidCycle());//SimpleFieldAssign//sourceId:1611770_1
            retData.setLastCycleType(preparationEvaTempCorrelationConfComRespDto_1.getLastCycleType());//SimpleFieldAssign//sourceId:1611771_1
            retData.setSecondLastCycleType(preparationEvaTempCorrelationConfComRespDto_1.getSecondLastCycleType());//SimpleFieldAssign//sourceId:1611772_1
            retData.setIsOpenMidProcess(preparationEvaTempCorrelationConfComRespDto_1.getIsOpenMidProcess());//SimpleFieldAssign//sourceId:1611773_1
            retData.setProcessMidCycleType(preparationEvaTempCorrelationConfComRespDto_1.getProcessMidCycleType());//SimpleFieldAssign//sourceId:1783450_1
            retData.setIsOpenSubReportLimit(preparationEvaTempCorrelationConfComRespDto_1.getIsOpenSubReportLimit());//SimpleFieldAssign//sourceId:1611775_1
            retData.setConstTaskIsOpenReport(preparationEvaTempCorrelationConfComRespDto_1.getConstTaskIsOpenReport());//SimpleFieldAssign//sourceId:1611776_1
            retData.setConstTaskIsOpenReport(preparationEvaTempCorrelationConfComRespDto_1.getConstTaskIsOpenReport());//SimpleFieldAssign//sourceId:1783179_1
            retData.setConstIsOpenAtuoReport(preparationEvaTempCorrelationConfComRespDto_1.getConstIsOpenAtuoReport());//SimpleFieldAssign//sourceId:1611777_1
            retData.setNoPracticalValueObjIsProgReport(preparationEvaTempCorrelationConfComRespDto_1.getNoPracticalValueObjIsProgReport());//SimpleFieldAssign//sourceId:1611778_1
            retData.setActualScoreIsOpenLocalLevelScore(preparationEvaTempCorrelationConfComRespDto_1.getActualScoreIsOpenLocalLevelScore());//SimpleFieldAssign//sourceId:1611779_1
            retData.setObjectiveActualScoreIsOpenLocalLevelScore(preparationEvaTempCorrelationConfComRespDto_1.getObjectiveActualScoreIsOpenLocalLevelScore());//SimpleFieldAssign//sourceId:1783214_1
            retData.setActualScoreFormula(preparationEvaTempCorrelationConfComRespDto_1.getActualScoreFormula());//SimpleFieldAssign//sourceId:1611780_1
            retData.setSubjectiveRatingTotalValue(preparationEvaTempCorrelationConfComRespDto_1.getSubjectiveRatingTotalValue());//SimpleFieldAssign//sourceId:1611781_1
            retData.setSubjectiveFullMarkUnit(preparationEvaTempCorrelationConfComRespDto_1.getSubjectiveFullMarkUnit());//SimpleFieldAssign//sourceId:1784913_1
            retData.setTargetScoreUnit(preparationEvaTempCorrelationConfComRespDto_1.getTargetScoreUnit());//SimpleFieldAssign//sourceId:1651905_1
            retData.setScoreDecimalPoint(preparationEvaTempCorrelationConfComRespDto_1.getScoreDecimalPoint());//SimpleFieldAssign//sourceId:1611783_1
            retData.setDegreeDecimalPoint(preparationEvaTempCorrelationConfComRespDto_1.getDegreeDecimalPoint());//SimpleFieldAssign//sourceId:1611784_1
            retData.setProgressDecimalPoint(preparationEvaTempCorrelationConfComRespDto_1.getProgressDecimalPoint());//SimpleFieldAssign//sourceId:1611785_1
            retData.setSubjectiveScorePoint(preparationEvaTempCorrelationConfComRespDto_1.getSubjectiveScorePoint());//SimpleFieldAssign//sourceId:1611786_1
            retData.setWeightPoint(preparationEvaTempCorrelationConfComRespDto_1.getWeightPoint());//SimpleFieldAssign//sourceId:1611787_1
            retData.setWeightDecimalPoint(preparationEvaTempCorrelationConfComRespDto_1.getWeightDecimalPoint());//SimpleFieldAssign//sourceId:1611788_1
            retData.setIncreasesDropDecimalPoint(preparationEvaTempCorrelationConfComRespDto_1.getIncreasesDropDecimalPoint());//SimpleFieldAssign//sourceId:1611789_1
            retData.setActualValueDecimalPoint(preparationEvaTempCorrelationConfComRespDto_1.getActualValueDecimalPoint());//SimpleFieldAssign//sourceId:1611790_1
            retData.setDecimalDigitsLastRules(preparationEvaTempCorrelationConfComRespDto_1.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:1611791_1
            retData.setOWeight(preparationEvaTempCorrelationConfComRespDto_1.getOWeight());//SimpleFieldAssign//sourceId:1611792_1
            retData.setCountProObWeight(preparationEvaTempCorrelationConfComRespDto_1.getCountProObWeight());//SimpleFieldAssign//sourceId:1611793_1
            retData.setCountProKrWeight(preparationEvaTempCorrelationConfComRespDto_1.getCountProKrWeight());//SimpleFieldAssign//sourceId:1611794_1
            retData.setSubjectiveScoreWeight(preparationEvaTempCorrelationConfComRespDto_1.getSubjectiveScoreWeight());//SimpleFieldAssign//sourceId:1611795_1
            retData.setObjectiveScoreWeight(preparationEvaTempCorrelationConfComRespDto_1.getObjectiveScoreWeight());//SimpleFieldAssign//sourceId:1611796_1
            retData.setProcessReportScoreMidWeight(preparationEvaTempCorrelationConfComRespDto_1.getProcessReportScoreMidWeight());//SimpleFieldAssign//sourceId:1611797_1
            retData.setProcessReportScoreProMidWeight(preparationEvaTempCorrelationConfComRespDto_1.getProcessReportScoreProMidWeight());//SimpleFieldAssign//sourceId:1611798_1
            retData.setProcessReportScoreAvgWeight(preparationEvaTempCorrelationConfComRespDto_1.getProcessReportScoreAvgWeight());//SimpleFieldAssign//sourceId:1611799_1
            retData.setProcessReportScoreKrWeight(preparationEvaTempCorrelationConfComRespDto_1.getProcessReportScoreKrWeight());//SimpleFieldAssign//sourceId:1611800_1
            retData.setReportScoreSubAndObjWeight(preparationEvaTempCorrelationConfComRespDto_1.getReportScoreSubAndObjWeight());//SimpleFieldAssign//sourceId:1611802_1
            retData.setActualScoreLocalLevelWeight(preparationEvaTempCorrelationConfComRespDto_1.getActualScoreLocalLevelWeight());//SimpleFieldAssign//sourceId:1611803_1
            retData.setActualScoreLowerLevelWeight(preparationEvaTempCorrelationConfComRespDto_1.getActualScoreLowerLevelWeight());//SimpleFieldAssign//sourceId:1611804_1
        }
        if (queryConfItemMatchAnswerDetailComRespDto_5 != null) {
            retData.setIsOpenSymbolicAchievements(queryConfItemMatchAnswerDetailComRespDto_5.getEndValue());//SimpleFieldAssign//sourceId:1709472_1
        }
        if (receptionServiceRes_2 != null) {
            retData.setIsOpenDataCalc(receptionServiceRes_2.getIsOpenDataCalc());//SimpleFieldAssign//sourceId:1862405_1
            retData.setIsOpenMq(receptionServiceRes_2.getIsOpenMq());//SimpleFieldAssign//sourceId:2041254_1
        }


        return retData;
    }

    /**
     * D2准备评价模板相关配置(公共)[8572]
     * gen by moon at 6/8/2024, 8:04:16 PM
     */
    @Trace(operationName = "D2准备评价模板相关配置(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public PreparationEvaTempCorrelationConfComRespDto preparationEvaTempCorrelationConfCom(PreparationEvaTempCorrelationConfComReqDto reqDto) {


        QuerySchemeMatchSingleResultToAnswerDetailComRespDto querySchemeMatchSingleResultToAnswerDetailComRespDto_1 = null;
        ObtainReceiveFieldsRespDto receptionServiceRes_2 = null;
//步骤0: M2执行智能沟通接收入参 - implementSmartSessionReceiveFieldInput
        //ModelCode: receptionService
        ImplementSmartSessionReceiveFieldInputRespDto receptionServiceRes = null;
        ImplementSmartSessionReceiveFieldInputReqDto receptionServiceReq = new ImplementSmartSessionReceiveFieldInputReqDto();
        if (reqDto != null) {
            receptionServiceReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1574450_1
        }

        /*M2接收字段[8109]  用于特殊方法接收上游入参。 */
        Assert.isNull(receptionServiceReq.getEvaluationTemplateId(), "D2准备评价模板相关配置(公共)-M2接收字段-评价模板ID不能为空", false);
        receptionServiceRes = nbConfScheme.implementSmartSessionReceiveFieldInput(receptionServiceReq);


//步骤1: D2-3查询方案匹配单一结果转答案(公共)（跨服务） - querySchemeMatchSingleResultToAnswerDetailCom
        QuerySchemeMatchSingleResultToAnswerDetailComRespDto querySchemeMatchSingleResultToAnswerDetailComRespDto = null;
        QuerySchemeMatchSingleResultToAnswerDetailComReqDto querySchemeMatchSingleResultToAnswerDetailComReqDto = new QuerySchemeMatchSingleResultToAnswerDetailComReqDto();
        querySchemeMatchSingleResultToAnswerDetailComReqDto.setResultAspObjType("EVA_TEMP");//sourceId:1831425_1
        querySchemeMatchSingleResultToAnswerDetailComReqDto.setIsPlatData("FALSE");//sourceId:1575922_1
        if (reqDto != null) {
            querySchemeMatchSingleResultToAnswerDetailComReqDto.setResultAspObjId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1575909_1
        }

        /*D2-3查评价模板单一答案配置（公共）[3101]   */
        Assert.isNull(querySchemeMatchSingleResultToAnswerDetailComReqDto.getResultAspObjId(), "D2准备评价模板相关配置(公共)-D2-3查评价模板单一答案配置（公共）-开通对象ID不能为空", false);
        Assert.isNull(querySchemeMatchSingleResultToAnswerDetailComReqDto.getResultAspObjType(), "D2准备评价模板相关配置(公共)-D2-3查评价模板单一答案配置（公共）-开通对象类型编码不能为空", false);
        Assert.isNull(querySchemeMatchSingleResultToAnswerDetailComReqDto.getIsPlatData(), "D2准备评价模板相关配置(公共)-D2-3查评价模板单一答案配置（公共）-是否标准答案不能为空", false);
        querySchemeMatchSingleResultToAnswerDetailComRespDto = querySchemeMatchSingleResultToAnswerDetailCom(querySchemeMatchSingleResultToAnswerDetailComReqDto)/*vcase invoke 同服务,同domain*/;


        querySchemeMatchSingleResultToAnswerDetailComRespDto_1 = querySchemeMatchSingleResultToAnswerDetailComRespDto;

//步骤2: D2-3查配置项匹配答案详情(公共)（跨服务） - queryConfItemMatchAnswerDetailCom
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto = null;
        QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto = new QueryConfItemMatchAnswerDetailComReqDto();
        queryConfItemMatchAnswerDetailComReqDto.setResultAspObjType("EVA_TEMP");//sourceId:1831426_1
        queryConfItemMatchAnswerDetailComReqDto.setConfItemCode("TARGET_FULL_MARK_UNIT");//CUSTOM_CONVENTION//sourceId:1576452_1
        queryConfItemMatchAnswerDetailComReqDto.setIsPlatData("FALSE");//sourceId:1576461_1
        if (reqDto != null) {
            queryConfItemMatchAnswerDetailComReqDto.setResultAspObjId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1576454_1
        }

        /*D2查目标得分单位答案（公共）[2486]   */
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getResultAspObjId(), "D2准备评价模板相关配置(公共)-D2查目标得分单位答案（公共）-开通对象ID不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getResultAspObjType(), "D2准备评价模板相关配置(公共)-D2查目标得分单位答案（公共）-开通对象类型编码不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getConfItemCode(), "D2准备评价模板相关配置(公共)-D2查目标得分单位答案（公共）-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getIsPlatData(), "D2准备评价模板相关配置(公共)-D2查目标得分单位答案（公共）-是否标准答案不能为空", false);
        queryConfItemMatchAnswerDetailComRespDto = queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto)/*vcase invoke 同服务,同domain*/;


//步骤3: D2-3查配置项匹配答案详情(公共)（跨服务） - queryConfItemMatchAnswerDetailCom
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_2 = null;
        QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto_1 = new QueryConfItemMatchAnswerDetailComReqDto();
        queryConfItemMatchAnswerDetailComReqDto_1.setResultAspObjType("EVA_TEMP");//sourceId:1831427_1
        queryConfItemMatchAnswerDetailComReqDto_1.setConfItemCode("SUBJECTIVE_FULL_MARK_UNIT");//CUSTOM_CONVENTION//sourceId:1784904_1
        queryConfItemMatchAnswerDetailComReqDto_1.setIsPlatData("FALSE");//sourceId:1784905_1
        if (reqDto != null) {
            queryConfItemMatchAnswerDetailComReqDto_1.setResultAspObjId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1784903_1
        }

        /*D2查评价模板主客观得分单位配置（公共）[2486]   */
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_1.getResultAspObjId(), "D2准备评价模板相关配置(公共)-D2查评价模板主客观得分单位配置（公共）-开通对象ID不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_1.getResultAspObjType(), "D2准备评价模板相关配置(公共)-D2查评价模板主客观得分单位配置（公共）-开通对象类型编码不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_1.getConfItemCode(), "D2准备评价模板相关配置(公共)-D2查评价模板主客观得分单位配置（公共）-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_1.getIsPlatData(), "D2准备评价模板相关配置(公共)-D2查评价模板主客观得分单位配置（公共）-是否标准答案不能为空", false);
        queryConfItemMatchAnswerDetailComRespDto_2 = queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto_1)/*vcase invoke 同服务,同domain*/;


//步骤4: M2获取接收字段 - obtainReceiveFields
        //ModelCode: receptionService
        ObtainReceiveFieldsRespDto receptionServiceRes_1 = null;
        if (queryConfItemMatchAnswerDetailComRespDto != null) {
            ObtainReceiveFieldsReqDto receptionServiceReq_1 = new ObtainReceiveFieldsReqDto();
            if (queryConfItemMatchAnswerDetailComRespDto != null) {
                receptionServiceReq_1.setTargetScoreUnit(queryConfItemMatchAnswerDetailComRespDto.getConfOptionName());//SimpleFieldAssign//sourceId:1651901_1
            }
            if (queryConfItemMatchAnswerDetailComRespDto_2 != null) {
                receptionServiceReq_1.setSubjectiveFullMarkUnit(queryConfItemMatchAnswerDetailComRespDto_2.getConfOptionName());//SimpleFieldAssign//sourceId:1784909_1
            }

            /*M2接收配置答案出参[4007]  用于特殊方法接收上游入参。 */

            receptionServiceRes_1 = nbConfScheme.obtainReceiveFields(receptionServiceReq_1);


            receptionServiceRes_2 = receptionServiceRes_1;
        }

        PreparationEvaTempCorrelationConfComRespDto retData = new PreparationEvaTempCorrelationConfComRespDto();
        if (querySchemeMatchSingleResultToAnswerDetailComRespDto_1 != null) {
            retData.setSchemeDataPara(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getSchemeDataPara());//SimpleFieldAssign//sourceId:1577341_1
            retData.setIsOkrPlanScene(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getIsOkrPlanScene());//SimpleFieldAssign//sourceId:1577342_1
            retData.setReportType(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getReportType());//SimpleFieldAssign//sourceId:1577343_1
            retData.setCycleMode(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getCycleMode());//SimpleFieldAssign//sourceId:1577344_1
            retData.setActualScoreFormula(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getActualScoreFormula());//SimpleFieldAssign//sourceId:1608791_1
            retData.setOpenMidCycle(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getOpenMidCycle());//SimpleFieldAssign//sourceId:1577345_1
            retData.setOpenOrCloseMidProcess(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getOpenOrCloseMidProcess());//SimpleFieldAssign//sourceId:1608793_1
            retData.setFatherCycleType(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getFatherCycleType());//SimpleFieldAssign//sourceId:1577346_1
            retData.setMidCycleType(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getMidCycleType());//SimpleFieldAssign//sourceId:1577347_1
            retData.setSubcycleType(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getSubcycleType());//SimpleFieldAssign//sourceId:1577348_1
            retData.setLastCycleType(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getLastCycleType());//SimpleFieldAssign//sourceId:1577349_1
            retData.setSecondLastCycleType(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getSecondLastCycleType());//SimpleFieldAssign//sourceId:1577350_1
            retData.setProcessMidCycleType(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getProcessMidCycleType());//SimpleFieldAssign//sourceId:1783447_1
            retData.setIsOpenMidProcess(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getIsOpenMidProcess());//SimpleFieldAssign//sourceId:1577352_1
            retData.setIsOpenSubReportLimit(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getIsOpenSubReportLimit());//SimpleFieldAssign//sourceId:1577353_1
            retData.setConstTaskIsOpenReport(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getConstTaskIsOpenReport());//SimpleFieldAssign//sourceId:1577354_1
            retData.setConstTaskIsOpenReport(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getConstTaskIsOpenReport());//SimpleFieldAssign//sourceId:1783177_1
            retData.setConstIsOpenAtuoReport(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getConstIsOpenAtuoReport());//SimpleFieldAssign//sourceId:1592063_1
            retData.setNoPracticalValueObjIsProgReport(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getNoPracticalValueObjIsProgReport());//SimpleFieldAssign//sourceId:1592061_1
            retData.setActualScoreIsOpenLocalLevelScore(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getActualScoreIsOpenLocalLevelScore());//SimpleFieldAssign//sourceId:1577355_1
            retData.setSubjectiveRatingTotalValue(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getSubjectiveRatingTotalValue());//SimpleFieldAssign//sourceId:1577356_1
            retData.setScoreDecimalPoint(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getScoreDecimalPoint());//SimpleFieldAssign//sourceId:1577357_1
            retData.setDegreeDecimalPoint(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getDegreeDecimalPoint());//SimpleFieldAssign//sourceId:1577358_1
            retData.setProgressDecimalPoint(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getProgressDecimalPoint());//SimpleFieldAssign//sourceId:1577359_1
            retData.setSubjectiveScorePoint(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getSubjectiveScorePoint());//SimpleFieldAssign//sourceId:1577361_1
            retData.setWeightDecimalPoint(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getWeightDecimalPoint());//SimpleFieldAssign//sourceId:1577362_1
            retData.setWeightPoint(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getWeightPoint());//SimpleFieldAssign//sourceId:1577363_1
            retData.setIncreasesDropDecimalPoint(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getIncreasesDropDecimalPoint());//SimpleFieldAssign//sourceId:1577364_1
            retData.setActualValueDecimalPoint(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getActualValueDecimalPoint());//SimpleFieldAssign//sourceId:1577365_1
            retData.setDecimalDigitsLastRules(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:1577366_1
            retData.setOWeight(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getOWeight());//SimpleFieldAssign//sourceId:1577367_1
            retData.setCountProObWeight(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getCountProObWeight());//SimpleFieldAssign//sourceId:1577368_1
            retData.setCountProKrWeight(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getCountProKrWeight());//SimpleFieldAssign//sourceId:1577369_1
            retData.setSubjectiveScoreWeight(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getSubjectiveScoreWeight());//SimpleFieldAssign//sourceId:1577370_1
            retData.setObjectiveScoreWeight(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getObjectiveScoreWeight());//SimpleFieldAssign//sourceId:1577371_1
            retData.setProcessReportScoreMidWeight(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getProcessReportScoreMidWeight());//SimpleFieldAssign//sourceId:1577372_1
            retData.setProcessReportScoreProMidWeight(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getProcessReportScoreProMidWeight());//SimpleFieldAssign//sourceId:1577373_1
            retData.setProcessReportScoreAvgWeight(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getProcessReportScoreAvgWeight());//SimpleFieldAssign//sourceId:1577374_1
            retData.setProcessReportScoreKrWeight(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getProcessReportScoreKrWeight());//SimpleFieldAssign//sourceId:1577375_1
            retData.setReportScoreSubAndObjWeight(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getReportScoreSubAndObjWeight());//SimpleFieldAssign//sourceId:1577377_1
            retData.setActualScoreLocalLevelWeight(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getActualScoreLocalLevelWeight());//SimpleFieldAssign//sourceId:1577378_1
            retData.setActualScoreLowerLevelWeight(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getActualScoreLowerLevelWeight());//SimpleFieldAssign//sourceId:1577379_1
            retData.setObjectiveActualScoreIsOpenLocalLevelScore(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getObjectiveActualScoreIsOpenLocalLevelScore());//SimpleFieldAssign//sourceId:1783212_1
            retData.setCalcAndRefreshDataType(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getCalcAndRefreshDataType());//SimpleFieldAssign//sourceId:1857205_1
            retData.setApproveCalcScene(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getApproveCalcScene());//SimpleFieldAssign//sourceId:1857206_1
        }
        if (receptionServiceRes_2 != null) {
            retData.setSubjectiveFullMarkUnit(receptionServiceRes_2.getSubjectiveFullMarkUnit());//SimpleFieldAssign//sourceId:1784911_1
            retData.setTargetScoreUnit(receptionServiceRes_2.getTargetScoreUnit());//SimpleFieldAssign//sourceId:1651903_1
        }


        return retData;
    }

    /**
     * D2准备刷目标归属周期配置(公共)[8624]
     * gen by moon at 9/21/2024, 11:18:04 PM
     */
    @Trace(operationName = "D2准备刷目标归属周期配置(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public PreparationBrushTargetAttributionCycleConfComRespDto preparationBrushTargetAttributionCycleConfCom(PreparationBrushTargetAttributionCycleConfComReqDto reqDto) {


        ObtainReceiveFieldsRespDto receptionServiceRes_2 = null;
//步骤0: M2执行智能沟通接收入参 - implementSmartSessionReceiveFieldInput
        //ModelCode: receptionService
        ImplementSmartSessionReceiveFieldInputRespDto receptionServiceRes = null;
        ImplementSmartSessionReceiveFieldInputReqDto receptionServiceReq = new ImplementSmartSessionReceiveFieldInputReqDto();
        if (reqDto != null) {
            receptionServiceReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1600347_1
        }

        /*M2接收字段[8109]  用于特殊方法接收上游入参。 */
        Assert.isNull(receptionServiceReq.getEvaluationTemplateId(), "D2准备刷目标归属周期配置(公共)-M2接收字段-评价模板ID不能为空", false);
        receptionServiceRes = nbConfScheme.implementSmartSessionReceiveFieldInput(receptionServiceReq);


//步骤1: D2-3查配置项匹配答案详情(公共)（跨服务） - queryConfItemMatchAnswerDetailCom
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto = null;
        QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto = new QueryConfItemMatchAnswerDetailComReqDto();
        queryConfItemMatchAnswerDetailComReqDto.setResultAspObjType("EVA_TEMP");//sourceId:1914431_1
        queryConfItemMatchAnswerDetailComReqDto.setConfItemCode("SCHEME_DATA_PARA");//CUSTOM_CONVENTION//sourceId:1600369_1
        queryConfItemMatchAnswerDetailComReqDto.setIsPlatData("FALSE");//sourceId:1600378_1
        if (reqDto != null) {
            queryConfItemMatchAnswerDetailComReqDto.setResultAspObjId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1600371_1
        }

        /*D2查评价模板商业参数配置答案（公共）[2486]   */
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getResultAspObjId(), "D2准备刷目标归属周期配置(公共)-D2查评价模板商业参数配置答案（公共）-开通对象ID不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getResultAspObjType(), "D2准备刷目标归属周期配置(公共)-D2查评价模板商业参数配置答案（公共）-开通对象类型编码不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getConfItemCode(), "D2准备刷目标归属周期配置(公共)-D2查评价模板商业参数配置答案（公共）-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getIsPlatData(), "D2准备刷目标归属周期配置(公共)-D2查评价模板商业参数配置答案（公共）-是否标准答案不能为空", false);
        queryConfItemMatchAnswerDetailComRespDto = queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto)/*vcase invoke 同服务,同domain*/;


//步骤2: D2-3查配置项匹配答案详情(公共)（跨服务） - queryConfItemMatchAnswerDetailCom
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_2 = null;
        QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto_1 = new QueryConfItemMatchAnswerDetailComReqDto();
        queryConfItemMatchAnswerDetailComReqDto_1.setResultAspObjType("EVA_TEMP");//sourceId:1914432_1
        queryConfItemMatchAnswerDetailComReqDto_1.setConfItemCode("IS_OKR_PLAN_SCENE");//CUSTOM_CONVENTION//sourceId:1600550_1
        queryConfItemMatchAnswerDetailComReqDto_1.setIsPlatData("FALSE");//sourceId:1600551_1
        if (reqDto != null) {
            queryConfItemMatchAnswerDetailComReqDto_1.setResultAspObjId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1600549_1
        }

        /*D2查开启OKR场景配置答案（公共）[2486]   */
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_1.getResultAspObjId(), "D2准备刷目标归属周期配置(公共)-D2查开启OKR场景配置答案（公共）-开通对象ID不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_1.getResultAspObjType(), "D2准备刷目标归属周期配置(公共)-D2查开启OKR场景配置答案（公共）-开通对象类型编码不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_1.getConfItemCode(), "D2准备刷目标归属周期配置(公共)-D2查开启OKR场景配置答案（公共）-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_1.getIsPlatData(), "D2准备刷目标归属周期配置(公共)-D2查开启OKR场景配置答案（公共）-是否标准答案不能为空", false);
        queryConfItemMatchAnswerDetailComRespDto_2 = queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto_1)/*vcase invoke 同服务,同domain*/;


//步骤3: D2-3查配置项匹配答案详情(公共)（跨服务） - queryConfItemMatchAnswerDetailCom
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_4 = null;
        QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto_2 = new QueryConfItemMatchAnswerDetailComReqDto();
        queryConfItemMatchAnswerDetailComReqDto_2.setResultAspObjType("EVA_TEMP");//sourceId:1914433_1
        queryConfItemMatchAnswerDetailComReqDto_2.setConfItemCode("REPORT_TYPE");//CUSTOM_CONVENTION//sourceId:1600539_1
        queryConfItemMatchAnswerDetailComReqDto_2.setIsPlatData("FALSE");//sourceId:1600540_1
        if (reqDto != null) {
            queryConfItemMatchAnswerDetailComReqDto_2.setResultAspObjId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1600538_1
        }

        /*D2查评价模板汇报类型答案(公共)[2486]   */
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_2.getResultAspObjId(), "D2准备刷目标归属周期配置(公共)-D2查评价模板汇报类型答案(公共)-开通对象ID不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_2.getResultAspObjType(), "D2准备刷目标归属周期配置(公共)-D2查评价模板汇报类型答案(公共)-开通对象类型编码不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_2.getConfItemCode(), "D2准备刷目标归属周期配置(公共)-D2查评价模板汇报类型答案(公共)-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_2.getIsPlatData(), "D2准备刷目标归属周期配置(公共)-D2查评价模板汇报类型答案(公共)-是否标准答案不能为空", false);
        queryConfItemMatchAnswerDetailComRespDto_4 = queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto_2)/*vcase invoke 同服务,同domain*/;


//步骤4: D2-3查配置项匹配答案详情(公共)（跨服务） - queryConfItemMatchAnswerDetailCom
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_6 = null;
        QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto_3 = new QueryConfItemMatchAnswerDetailComReqDto();
        queryConfItemMatchAnswerDetailComReqDto_3.setResultAspObjType("EVA_TEMP");//sourceId:1914434_1
        queryConfItemMatchAnswerDetailComReqDto_3.setConfItemCode("CYCLE_MODE");//CUSTOM_CONVENTION//sourceId:1600413_1
        queryConfItemMatchAnswerDetailComReqDto_3.setIsPlatData("FALSE");//sourceId:1600414_1
        if (reqDto != null) {
            queryConfItemMatchAnswerDetailComReqDto_3.setResultAspObjId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1600412_1
        }

        /*D2查评价模板周期模式配置答案（公共）[2486]   */
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_3.getResultAspObjId(), "D2准备刷目标归属周期配置(公共)-D2查评价模板周期模式配置答案（公共）-开通对象ID不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_3.getResultAspObjType(), "D2准备刷目标归属周期配置(公共)-D2查评价模板周期模式配置答案（公共）-开通对象类型编码不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_3.getConfItemCode(), "D2准备刷目标归属周期配置(公共)-D2查评价模板周期模式配置答案（公共）-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_3.getIsPlatData(), "D2准备刷目标归属周期配置(公共)-D2查评价模板周期模式配置答案（公共）-是否标准答案不能为空", false);
        queryConfItemMatchAnswerDetailComRespDto_6 = queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto_3)/*vcase invoke 同服务,同domain*/;


//步骤5: D2-3查配置项匹配答案详情(公共)（跨服务） - queryConfItemMatchAnswerDetailCom
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_8 = null;
        QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto_4 = new QueryConfItemMatchAnswerDetailComReqDto();
        queryConfItemMatchAnswerDetailComReqDto_4.setResultAspObjType("EVA_TEMP");//sourceId:1914435_1
        queryConfItemMatchAnswerDetailComReqDto_4.setConfItemCode("SUBCYCLE_TYPE");//CUSTOM_CONVENTION//sourceId:1607225_1
        queryConfItemMatchAnswerDetailComReqDto_4.setIsPlatData("FALSE");//sourceId:1607226_1
        if (reqDto != null) {
            queryConfItemMatchAnswerDetailComReqDto_4.setResultAspObjId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1607224_1
        }

        /*D2查子周期类型配置答案（公共）[2486]   */
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_4.getResultAspObjId(), "D2准备刷目标归属周期配置(公共)-D2查子周期类型配置答案（公共）-开通对象ID不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_4.getResultAspObjType(), "D2准备刷目标归属周期配置(公共)-D2查子周期类型配置答案（公共）-开通对象类型编码不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_4.getConfItemCode(), "D2准备刷目标归属周期配置(公共)-D2查子周期类型配置答案（公共）-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_4.getIsPlatData(), "D2准备刷目标归属周期配置(公共)-D2查子周期类型配置答案（公共）-是否标准答案不能为空", false);
        queryConfItemMatchAnswerDetailComRespDto_8 = queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto_4)/*vcase invoke 同服务,同domain*/;


//步骤6: D2-3查配置项匹配答案详情(公共)（跨服务） - queryConfItemMatchAnswerDetailCom
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_10 = null;
        QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto_5 = new QueryConfItemMatchAnswerDetailComReqDto();
        queryConfItemMatchAnswerDetailComReqDto_5.setResultAspObjType("EVA_TEMP");//sourceId:1914436_1
        queryConfItemMatchAnswerDetailComReqDto_5.setConfItemCode("LAST_CYCLE_TYPE");//CUSTOM_CONVENTION//sourceId:1601686_1
        queryConfItemMatchAnswerDetailComReqDto_5.setIsPlatData("FALSE");//sourceId:1601687_1
        if (reqDto != null) {
            queryConfItemMatchAnswerDetailComReqDto_5.setResultAspObjId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1601685_1
        }

        /*D2查末级周期类型答案(公共)[2486]   */
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_5.getResultAspObjId(), "D2准备刷目标归属周期配置(公共)-D2查末级周期类型答案(公共)-开通对象ID不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_5.getResultAspObjType(), "D2准备刷目标归属周期配置(公共)-D2查末级周期类型答案(公共)-开通对象类型编码不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_5.getConfItemCode(), "D2准备刷目标归属周期配置(公共)-D2查末级周期类型答案(公共)-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_5.getIsPlatData(), "D2准备刷目标归属周期配置(公共)-D2查末级周期类型答案(公共)-是否标准答案不能为空", false);
        queryConfItemMatchAnswerDetailComRespDto_10 = queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto_5)/*vcase invoke 同服务,同domain*/;


//步骤7: D2-3查配置项匹配答案详情(公共)（跨服务） - queryConfItemMatchAnswerDetailCom
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_12 = null;
        QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto_6 = new QueryConfItemMatchAnswerDetailComReqDto();
        queryConfItemMatchAnswerDetailComReqDto_6.setResultAspObjType("EVA_TEMP");//sourceId:1914437_1
        queryConfItemMatchAnswerDetailComReqDto_6.setConfItemCode("SECOND_LAST_CYCLE_TYPE");//CUSTOM_CONVENTION//sourceId:1601689_1
        queryConfItemMatchAnswerDetailComReqDto_6.setIsPlatData("FALSE");//sourceId:1601690_1
        if (reqDto != null) {
            queryConfItemMatchAnswerDetailComReqDto_6.setResultAspObjId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1601688_1
        }

        /*D2查第2末级周期类型答案(公共)[2486]   */
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_6.getResultAspObjId(), "D2准备刷目标归属周期配置(公共)-D2查第2末级周期类型答案(公共)-开通对象ID不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_6.getResultAspObjType(), "D2准备刷目标归属周期配置(公共)-D2查第2末级周期类型答案(公共)-开通对象类型编码不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_6.getConfItemCode(), "D2准备刷目标归属周期配置(公共)-D2查第2末级周期类型答案(公共)-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_6.getIsPlatData(), "D2准备刷目标归属周期配置(公共)-D2查第2末级周期类型答案(公共)-是否标准答案不能为空", false);
        queryConfItemMatchAnswerDetailComRespDto_12 = queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto_6)/*vcase invoke 同服务,同domain*/;


//步骤8: D2-3查配置项匹配答案详情(公共)（跨服务） - queryConfItemMatchAnswerDetailCom
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_14 = null;
        QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto_7 = new QueryConfItemMatchAnswerDetailComReqDto();
        queryConfItemMatchAnswerDetailComReqDto_7.setResultAspObjType("EVA_TEMP");//sourceId:1914439_1
        queryConfItemMatchAnswerDetailComReqDto_7.setConfItemCode("CONST_TASK_IS_OPEN_REPORT");//CUSTOM_CONVENTION//sourceId:1607400_1
        queryConfItemMatchAnswerDetailComReqDto_7.setIsPlatData("FALSE");//sourceId:1607401_1
        if (reqDto != null) {
            queryConfItemMatchAnswerDetailComReqDto_7.setResultAspObjId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1607399_1
        }

        /*D2查建设任务是否开启汇报答案(公共)[2486]   */
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_7.getResultAspObjId(), "D2准备刷目标归属周期配置(公共)-D2查建设任务是否开启汇报答案(公共)-开通对象ID不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_7.getResultAspObjType(), "D2准备刷目标归属周期配置(公共)-D2查建设任务是否开启汇报答案(公共)-开通对象类型编码不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_7.getConfItemCode(), "D2准备刷目标归属周期配置(公共)-D2查建设任务是否开启汇报答案(公共)-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_7.getIsPlatData(), "D2准备刷目标归属周期配置(公共)-D2查建设任务是否开启汇报答案(公共)-是否标准答案不能为空", false);
        queryConfItemMatchAnswerDetailComRespDto_14 = queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto_7)/*vcase invoke 同服务,同domain*/;


//步骤9: D2-3查配置项匹配答案详情(公共)（跨服务） - queryConfItemMatchAnswerDetailCom
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_16 = null;
        QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto_8 = new QueryConfItemMatchAnswerDetailComReqDto();
        queryConfItemMatchAnswerDetailComReqDto_8.setResultAspObjType("EVA_TEMP");//sourceId:1914438_1
        queryConfItemMatchAnswerDetailComReqDto_8.setConfItemCode("CONST_IS_OPEN_ATUO_REPORT");//CUSTOM_CONVENTION//sourceId:1600778_1
        queryConfItemMatchAnswerDetailComReqDto_8.setIsPlatData("FALSE");//sourceId:1600779_1
        if (reqDto != null) {
            queryConfItemMatchAnswerDetailComReqDto_8.setResultAspObjId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1600777_1
        }

        /*D2查建设任务是否自动汇报答案(公共)[2486]   */
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_8.getResultAspObjId(), "D2准备刷目标归属周期配置(公共)-D2查建设任务是否自动汇报答案(公共)-开通对象ID不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_8.getResultAspObjType(), "D2准备刷目标归属周期配置(公共)-D2查建设任务是否自动汇报答案(公共)-开通对象类型编码不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_8.getConfItemCode(), "D2准备刷目标归属周期配置(公共)-D2查建设任务是否自动汇报答案(公共)-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_8.getIsPlatData(), "D2准备刷目标归属周期配置(公共)-D2查建设任务是否自动汇报答案(公共)-是否标准答案不能为空", false);
        queryConfItemMatchAnswerDetailComRespDto_16 = queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto_8)/*vcase invoke 同服务,同domain*/;


//步骤10: D2-3查配置项匹配答案详情(公共)（跨服务） - queryConfItemMatchAnswerDetailCom
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_18 = null;
        QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto_9 = new QueryConfItemMatchAnswerDetailComReqDto();
        queryConfItemMatchAnswerDetailComReqDto_9.setResultAspObjType("EVA_TEMP");//sourceId:1914465_1
        queryConfItemMatchAnswerDetailComReqDto_9.setConfItemCode("IS_OPEN_SUB_REPORT_LIMIT");//CUSTOM_CONVENTION//sourceId:1600546_1
        queryConfItemMatchAnswerDetailComReqDto_9.setIsPlatData("FALSE");//sourceId:1600547_1
        if (reqDto != null) {
            queryConfItemMatchAnswerDetailComReqDto_9.setResultAspObjId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1600545_1
        }

        /*D2查是否开启下级汇报限制答案(公共)[2486]   */
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_9.getResultAspObjId(), "D2准备刷目标归属周期配置(公共)-D2查是否开启下级汇报限制答案(公共)-开通对象ID不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_9.getResultAspObjType(), "D2准备刷目标归属周期配置(公共)-D2查是否开启下级汇报限制答案(公共)-开通对象类型编码不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_9.getConfItemCode(), "D2准备刷目标归属周期配置(公共)-D2查是否开启下级汇报限制答案(公共)-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_9.getIsPlatData(), "D2准备刷目标归属周期配置(公共)-D2查是否开启下级汇报限制答案(公共)-是否标准答案不能为空", false);
        queryConfItemMatchAnswerDetailComRespDto_18 = queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto_9)/*vcase invoke 同服务,同domain*/;


//步骤11: D2-3查配置项匹配答案详情(公共)（跨服务） - queryConfItemMatchAnswerDetailCom
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_20 = null;
        QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto_10 = new QueryConfItemMatchAnswerDetailComReqDto();
        queryConfItemMatchAnswerDetailComReqDto_10.setResultAspObjType("EVA_TEMP");//sourceId:1914466_1
        queryConfItemMatchAnswerDetailComReqDto_10.setConfItemCode("NO_PRACTICAL_VALUE_OBJ_IS_PROG_REPORT");//CUSTOM_CONVENTION//sourceId:1600542_1
        queryConfItemMatchAnswerDetailComReqDto_10.setIsPlatData("FALSE");//sourceId:1600543_1
        if (reqDto != null) {
            queryConfItemMatchAnswerDetailComReqDto_10.setResultAspObjId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1600541_1
        }

        /*D2查无实际值指标汇报是否开启进度答案(公共)[2486]   */
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_10.getResultAspObjId(), "D2准备刷目标归属周期配置(公共)-D2查无实际值指标汇报是否开启进度答案(公共)-开通对象ID不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_10.getResultAspObjType(), "D2准备刷目标归属周期配置(公共)-D2查无实际值指标汇报是否开启进度答案(公共)-开通对象类型编码不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_10.getConfItemCode(), "D2准备刷目标归属周期配置(公共)-D2查无实际值指标汇报是否开启进度答案(公共)-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_10.getIsPlatData(), "D2准备刷目标归属周期配置(公共)-D2查无实际值指标汇报是否开启进度答案(公共)-是否标准答案不能为空", false);
        queryConfItemMatchAnswerDetailComRespDto_20 = queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto_10)/*vcase invoke 同服务,同domain*/;


//步骤12: D2-3查配置项匹配答案详情(公共)（跨服务） - queryConfItemMatchAnswerDetailCom
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_22 = null;
        QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto_11 = new QueryConfItemMatchAnswerDetailComReqDto();
        queryConfItemMatchAnswerDetailComReqDto_11.setResultAspObjType("EVA_TEMP");//sourceId:1914467_1
        queryConfItemMatchAnswerDetailComReqDto_11.setConfItemCode("ACTUAL_SCORE_IS_OPEN_LOCAL_LEVEL_SCORE");//CUSTOM_CONVENTION//sourceId:1600782_1
        queryConfItemMatchAnswerDetailComReqDto_11.setIsPlatData("FALSE");//sourceId:1600783_1
        if (reqDto != null) {
            queryConfItemMatchAnswerDetailComReqDto_11.setResultAspObjId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1600781_1
        }

        /*D2查目标分类是否开启本级得分(公共)[2486]   */
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_11.getResultAspObjId(), "D2准备刷目标归属周期配置(公共)-D2查目标分类是否开启本级得分(公共)-开通对象ID不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_11.getResultAspObjType(), "D2准备刷目标归属周期配置(公共)-D2查目标分类是否开启本级得分(公共)-开通对象类型编码不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_11.getConfItemCode(), "D2准备刷目标归属周期配置(公共)-D2查目标分类是否开启本级得分(公共)-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_11.getIsPlatData(), "D2准备刷目标归属周期配置(公共)-D2查目标分类是否开启本级得分(公共)-是否标准答案不能为空", false);
        queryConfItemMatchAnswerDetailComRespDto_22 = queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto_11)/*vcase invoke 同服务,同domain*/;


//步骤13: D2-3查配置项匹配答案详情(公共)（跨服务） - queryConfItemMatchAnswerDetailCom
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_24 = null;
        QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto_12 = new QueryConfItemMatchAnswerDetailComReqDto();
        queryConfItemMatchAnswerDetailComReqDto_12.setResultAspObjType("EVA_TEMP");//sourceId:1914468_1
        queryConfItemMatchAnswerDetailComReqDto_12.setConfItemCode("OBJECTIVE_ACTUAL_SCORE_IS_OPEN_LOCAL_LEVEL_SCORE");//CUSTOM_CONVENTION//sourceId:1652228_1
        queryConfItemMatchAnswerDetailComReqDto_12.setIsPlatData("FALSE");//sourceId:1652229_1
        if (reqDto != null) {
            queryConfItemMatchAnswerDetailComReqDto_12.setResultAspObjId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1652227_1
        }

        /*D2查指标是否开启本级得分（公共）[2486]   */
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_12.getResultAspObjId(), "D2准备刷目标归属周期配置(公共)-D2查指标是否开启本级得分（公共）-开通对象ID不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_12.getResultAspObjType(), "D2准备刷目标归属周期配置(公共)-D2查指标是否开启本级得分（公共）-开通对象类型编码不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_12.getConfItemCode(), "D2准备刷目标归属周期配置(公共)-D2查指标是否开启本级得分（公共）-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_12.getIsPlatData(), "D2准备刷目标归属周期配置(公共)-D2查指标是否开启本级得分（公共）-是否标准答案不能为空", false);
        queryConfItemMatchAnswerDetailComRespDto_24 = queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto_12)/*vcase invoke 同服务,同domain*/;


//步骤14: D2-3查配置项匹配答案详情(公共)（跨服务） - queryConfItemMatchAnswerDetailCom
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_26 = null;
        QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto_13 = new QueryConfItemMatchAnswerDetailComReqDto();
        queryConfItemMatchAnswerDetailComReqDto_13.setResultAspObjType("EVA_TEMP");//sourceId:1914440_1
        queryConfItemMatchAnswerDetailComReqDto_13.setConfItemCode("ENABLE_SUBJECTIVE_RATING_CYCLE_TYPE");//CUSTOM_CONVENTION//sourceId:1793063_1
        queryConfItemMatchAnswerDetailComReqDto_13.setIsPlatData("FALSE");//sourceId:1793072_1
        if (reqDto != null) {
            queryConfItemMatchAnswerDetailComReqDto_13.setResultAspObjId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1793065_1
        }

        /*D2查主客观评分周期类型配置答案[2486]   */
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_13.getResultAspObjId(), "D2准备刷目标归属周期配置(公共)-D2查主客观评分周期类型配置答案-开通对象ID不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_13.getConfItemCode(), "D2准备刷目标归属周期配置(公共)-D2查主客观评分周期类型配置答案-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_13.getIsPlatData(), "D2准备刷目标归属周期配置(公共)-D2查主客观评分周期类型配置答案-是否标准答案不能为空", false);
        queryConfItemMatchAnswerDetailComRespDto_26 = queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto_13)/*vcase invoke 同服务,同domain*/;


//步骤15: D2-3查配置项匹配答案详情(公共)（跨服务） - queryConfItemMatchAnswerDetailCom
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_28 = null;
        QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto_14 = new QueryConfItemMatchAnswerDetailComReqDto();
        queryConfItemMatchAnswerDetailComReqDto_14.setResultAspObjType("EVA_TEMP");//sourceId:1914442_1
        queryConfItemMatchAnswerDetailComReqDto_14.setConfItemCode("REPORT_PROGRESS_ENTER_METHOD");//CUSTOM_CONVENTION//sourceId:1914443_1
        queryConfItemMatchAnswerDetailComReqDto_14.setIsPlatData("FALSE");//sourceId:1914444_1
        if (reqDto != null) {
            queryConfItemMatchAnswerDetailComReqDto_14.setResultAspObjId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1914441_1
        }

        /*D2查询评价模板成果汇报进度录入方式配置参数（公共）[2486]   */
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_14.getResultAspObjType(), "D2准备刷目标归属周期配置(公共)-D2查询评价模板成果汇报进度录入方式配置参数（公共）-开通对象类型编码不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_14.getConfItemCode(), "D2准备刷目标归属周期配置(公共)-D2查询评价模板成果汇报进度录入方式配置参数（公共）-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_14.getIsPlatData(), "D2准备刷目标归属周期配置(公共)-D2查询评价模板成果汇报进度录入方式配置参数（公共）-是否标准答案不能为空", false);
        queryConfItemMatchAnswerDetailComRespDto_28 = queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto_14)/*vcase invoke 同服务,同domain*/;


//步骤16: D2-3查配置项匹配答案详情(公共)（跨服务） - queryConfItemMatchAnswerDetailCom
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_30 = null;
        QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto_15 = new QueryConfItemMatchAnswerDetailComReqDto();
        queryConfItemMatchAnswerDetailComReqDto_15.setResultAspObjType("EVA_TEMP");//sourceId:2008786_1
        queryConfItemMatchAnswerDetailComReqDto_15.setConfItemCode("WORK_CYCLE_IS_OPEN_REPORT");//CUSTOM_CONVENTION//sourceId:2008787_1
        queryConfItemMatchAnswerDetailComReqDto_15.setIsPlatData("FALSE");//sourceId:2008788_1
        if (reqDto != null) {
            queryConfItemMatchAnswerDetailComReqDto_15.setResultAspObjId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:2008785_1
        }

        /*D2查评价模板工作周期是否开启汇报配置（公共）[2486]   */
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_15.getResultAspObjId(), "D2准备刷目标归属周期配置(公共)-D2查评价模板工作周期是否开启汇报配置（公共）-开通对象ID不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_15.getResultAspObjType(), "D2准备刷目标归属周期配置(公共)-D2查评价模板工作周期是否开启汇报配置（公共）-开通对象类型编码不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_15.getConfItemCode(), "D2准备刷目标归属周期配置(公共)-D2查评价模板工作周期是否开启汇报配置（公共）-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_15.getIsPlatData(), "D2准备刷目标归属周期配置(公共)-D2查评价模板工作周期是否开启汇报配置（公共）-是否标准答案不能为空", false);
        queryConfItemMatchAnswerDetailComRespDto_30 = queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto_15)/*vcase invoke 同服务,同domain*/;


//步骤17: M2获取接收字段 - obtainReceiveFields
        //ModelCode: receptionService
        ObtainReceiveFieldsRespDto receptionServiceRes_1 = null;
        if (queryConfItemMatchAnswerDetailComRespDto != null) {
            ObtainReceiveFieldsReqDto receptionServiceReq_1 = new ObtainReceiveFieldsReqDto();
            if (queryConfItemMatchAnswerDetailComRespDto != null) {
                receptionServiceReq_1.setSchemeDataPara(queryConfItemMatchAnswerDetailComRespDto.getEndValue());//SimpleFieldAssign//sourceId:1601566_1
            }
            if (queryConfItemMatchAnswerDetailComRespDto_2 != null) {
                receptionServiceReq_1.setIsOkrPlanScene(queryConfItemMatchAnswerDetailComRespDto_2.getEndValue());//SimpleFieldAssign//sourceId:1601628_1
            }
            if (queryConfItemMatchAnswerDetailComRespDto_4 != null) {
                receptionServiceReq_1.setReportType(queryConfItemMatchAnswerDetailComRespDto_4.getEndValue());//SimpleFieldAssign//sourceId:1601631_1
            }
            if (queryConfItemMatchAnswerDetailComRespDto_6 != null) {
                receptionServiceReq_1.setCycleMode(queryConfItemMatchAnswerDetailComRespDto_6.getEndValue());//SimpleFieldAssign//sourceId:1601642_1
            }
            if (queryConfItemMatchAnswerDetailComRespDto_8 != null) {
                receptionServiceReq_1.setSubcycleType(queryConfItemMatchAnswerDetailComRespDto_8.getEndValue());//SimpleFieldAssign//sourceId:1607316_1
            }
            if (queryConfItemMatchAnswerDetailComRespDto_10 != null) {
                receptionServiceReq_1.setLastCycleType(queryConfItemMatchAnswerDetailComRespDto_10.getEndValue());//SimpleFieldAssign//sourceId:1601627_1
            }
            if (queryConfItemMatchAnswerDetailComRespDto_12 != null) {
                receptionServiceReq_1.setSecondLastCycleType(queryConfItemMatchAnswerDetailComRespDto_12.getEndValue());//SimpleFieldAssign//sourceId:1601633_1
            }
            if (queryConfItemMatchAnswerDetailComRespDto_22 != null) {
                receptionServiceReq_1.setActualScoreIsOpenLocalLevelScore(queryConfItemMatchAnswerDetailComRespDto_22.getEndValue());//SimpleFieldAssign//sourceId:1601632_1
            }
            if (queryConfItemMatchAnswerDetailComRespDto_24 != null) {
                receptionServiceReq_1.setObjectiveActualScoreIsOpenLocalLevelScore(queryConfItemMatchAnswerDetailComRespDto_24.getEndValue());//SimpleFieldAssign//sourceId:1652232_1
            }
            if (queryConfItemMatchAnswerDetailComRespDto_18 != null) {
                receptionServiceReq_1.setIsOpenSubReportLimit(queryConfItemMatchAnswerDetailComRespDto_18.getEndValue());//SimpleFieldAssign//sourceId:1605787_1
            }
            if (queryConfItemMatchAnswerDetailComRespDto_14 != null) {
                receptionServiceReq_1.setConstTaskIsOpenReport(queryConfItemMatchAnswerDetailComRespDto_14.getEndValue());//SimpleFieldAssign//sourceId:1601629_1
            }
            if (queryConfItemMatchAnswerDetailComRespDto_16 != null) {
                receptionServiceReq_1.setConstIsOpenAtuoReport(queryConfItemMatchAnswerDetailComRespDto_16.getEndValue());//SimpleFieldAssign//sourceId:1607324_1
            }
            if (queryConfItemMatchAnswerDetailComRespDto_20 != null) {
                receptionServiceReq_1.setNoPracticalValueObjIsProgReport(queryConfItemMatchAnswerDetailComRespDto_20.getEndValue());//SimpleFieldAssign//sourceId:1601630_1
            }
            if (queryConfItemMatchAnswerDetailComRespDto_26 != null) {
                receptionServiceReq_1.setEnableSubjectiveRatingCycleType(queryConfItemMatchAnswerDetailComRespDto_26.getEndValue());//SimpleFieldAssign//sourceId:1793248_1
            }
            if (queryConfItemMatchAnswerDetailComRespDto_28 != null) {
                receptionServiceReq_1.setReportProgressEnterMethod(queryConfItemMatchAnswerDetailComRespDto_28.getEndValue());//SimpleFieldAssign//sourceId:1914447_1
            }
            if (queryConfItemMatchAnswerDetailComRespDto_30 != null) {
                receptionServiceReq_1.setWorkCycleIsOpenReport(queryConfItemMatchAnswerDetailComRespDto_30.getEndValue());//SimpleFieldAssign//sourceId:2008796_1
            }

            /*M2接收配置答案出参[4007]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_1.getSchemeDataPara(), "D2准备刷目标归属周期配置(公共)-M2接收配置答案出参-评价模板商业参数不能为空", false);
            Assert.isNull(receptionServiceReq_1.getIsOkrPlanScene(), "D2准备刷目标归属周期配置(公共)-M2接收配置答案出参-冗余开启OKR场景不能为空", false);
            Assert.isNull(receptionServiceReq_1.getReportType(), "D2准备刷目标归属周期配置(公共)-M2接收配置答案出参-汇报类型不能为空", false);
            Assert.isNull(receptionServiceReq_1.getCycleMode(), "D2准备刷目标归属周期配置(公共)-M2接收配置答案出参-周期模式不能为空", false);
            Assert.isNull(receptionServiceReq_1.getSubcycleType(), "D2准备刷目标归属周期配置(公共)-M2接收配置答案出参-子周期周期类型不能为空", false);
            Assert.isNull(receptionServiceReq_1.getLastCycleType(), "D2准备刷目标归属周期配置(公共)-M2接收配置答案出参-末级周期类型不能为空", false);
            Assert.isNull(receptionServiceReq_1.getActualScoreIsOpenLocalLevelScore(), "D2准备刷目标归属周期配置(公共)-M2接收配置答案出参-目标分类目标得分是否开启本级得分不能为空", false);
            Assert.isNull(receptionServiceReq_1.getObjectiveActualScoreIsOpenLocalLevelScore(), "D2准备刷目标归属周期配置(公共)-M2接收配置答案出参-指标目标得分是否开启本级得分不能为空", false);
            Assert.isNull(receptionServiceReq_1.getIsOpenSubReportLimit(), "D2准备刷目标归属周期配置(公共)-M2接收配置答案出参-是否开启下级汇报限制不能为空", false);
            Assert.isNull(receptionServiceReq_1.getConstTaskIsOpenReport(), "D2准备刷目标归属周期配置(公共)-M2接收配置答案出参-建设任务是否开启生成汇报任务不能为空", false);
            Assert.isNull(receptionServiceReq_1.getConstIsOpenAtuoReport(), "D2准备刷目标归属周期配置(公共)-M2接收配置答案出参-建设任务是否自动汇报不能为空", false);
            Assert.isNull(receptionServiceReq_1.getNoPracticalValueObjIsProgReport(), "D2准备刷目标归属周期配置(公共)-M2接收配置答案出参-无实际值指标是否开启进度汇报不能为空", false);
            Assert.isNull(receptionServiceReq_1.getEnableSubjectiveRatingCycleType(), "D2准备刷目标归属周期配置(公共)-M2接收配置答案出参-开启主客观评分周期类型不能为空", false);
            Assert.isNull(receptionServiceReq_1.getReportProgressEnterMethod(), "D2准备刷目标归属周期配置(公共)-M2接收配置答案出参-成果汇报进度录入方式不能为空", false);
            Assert.isNull(receptionServiceReq_1.getWorkCycleIsOpenReport(), "D2准备刷目标归属周期配置(公共)-M2接收配置答案出参-工作周期是否开启汇报不能为空", false);
            receptionServiceRes_1 = nbConfScheme.obtainReceiveFields(receptionServiceReq_1);


            receptionServiceRes_2 = receptionServiceRes_1;
        }

        PreparationBrushTargetAttributionCycleConfComRespDto retData = new PreparationBrushTargetAttributionCycleConfComRespDto();
        if (receptionServiceRes_2 != null) {
            retData.setSchemeDataPara(receptionServiceRes_2.getSchemeDataPara());//SimpleFieldAssign//sourceId:1601692_1
            retData.setIsOkrPlanScene(receptionServiceRes_2.getIsOkrPlanScene());//SimpleFieldAssign//sourceId:1601693_1
            retData.setReportType(receptionServiceRes_2.getReportType());//SimpleFieldAssign//sourceId:1601694_1
            retData.setCycleMode(receptionServiceRes_2.getCycleMode());//SimpleFieldAssign//sourceId:1601695_1
            retData.setSubcycleType(receptionServiceRes_2.getSubcycleType());//SimpleFieldAssign//sourceId:1607318_1
            retData.setLastCycleType(receptionServiceRes_2.getLastCycleType());//SimpleFieldAssign//sourceId:1601696_1
            retData.setSecondLastCycleType(receptionServiceRes_2.getSecondLastCycleType());//SimpleFieldAssign//sourceId:1601697_1
            retData.setActualScoreIsOpenLocalLevelScore(receptionServiceRes_2.getActualScoreIsOpenLocalLevelScore());//SimpleFieldAssign//sourceId:1601699_1
            retData.setObjectiveActualScoreIsOpenLocalLevelScore(receptionServiceRes_2.getObjectiveActualScoreIsOpenLocalLevelScore());//SimpleFieldAssign//sourceId:1652234_1
            retData.setIsOpenSubReportLimit(receptionServiceRes_2.getIsOpenSubReportLimit());//SimpleFieldAssign//sourceId:1605794_1
            retData.setConstTaskIsOpenReport(receptionServiceRes_2.getConstTaskIsOpenReport());//SimpleFieldAssign//sourceId:1601698_1
            retData.setConstIsOpenAtuoReport(receptionServiceRes_2.getConstIsOpenAtuoReport());//SimpleFieldAssign//sourceId:1607326_1
            retData.setNoPracticalValueObjIsProgReport(receptionServiceRes_2.getNoPracticalValueObjIsProgReport());//SimpleFieldAssign//sourceId:1601700_1
            retData.setEnableSubjectiveRatingCycleType(receptionServiceRes_2.getEnableSubjectiveRatingCycleType());//SimpleFieldAssign//sourceId:1793250_1
            retData.setReportProgressEnterMethod(receptionServiceRes_2.getReportProgressEnterMethod());//SimpleFieldAssign//sourceId:1914449_1
            retData.setWorkCycleIsOpenReport(receptionServiceRes_2.getWorkCycleIsOpenReport());//SimpleFieldAssign//sourceId:2008801_1
        }


        return retData;
    }

    /**
     * D2刷目标归属周期绩效配置(公共)[8770]
     * gen by moon at 5/13/2024, 10:42:19 PM
     */
    @Trace(operationName = "D2刷目标归属周期绩效配置(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public ImplementBrushPerfTargetAttributionCycleConfComRespDto implementBrushPerfTargetAttributionCycleConfCom(ImplementBrushPerfTargetAttributionCycleConfComReqDto reqDto) {


        ObtainReceiveFieldsRespDto receptionServiceRes_2 = null;
//步骤0: M2获取接收字段 - obtainReceiveFields
        //ModelCode: receptionService
        ObtainReceiveFieldsRespDto receptionServiceRes = null;
        ObtainReceiveFieldsReqDto receptionServiceReq = new ObtainReceiveFieldsReqDto();
        if (reqDto != null) {
            receptionServiceReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1651779_1
            receptionServiceReq.setEvaluationSubjectId(reqDto.getEvaluationSubjectId());//SimpleFieldAssign//sourceId:1651778_1
        }

        /*M2获取接收字段[4007]  用于特殊方法接收上游入参。 */
        Assert.isNull(receptionServiceReq.getEvaluationTemplateId(), "D2刷目标归属周期绩效配置(公共)-M2获取接收字段-评价模板ID不能为空", false);
        Assert.isNull(receptionServiceReq.getEvaluationSubjectId(), "D2刷目标归属周期绩效配置(公共)-M2获取接收字段-评价主题ID不能为空", false);
        receptionServiceRes = nbConfScheme.obtainReceiveFields(receptionServiceReq);


//步骤1: D2-查询周期类型配置详情(公共) - queryCycleTypeConfDetailCom
        QueryCycleTypeConfDetailComRespDto queryCycleTypeConfDetailComRespDto = null;
        QueryCycleTypeConfDetailComReqDto queryCycleTypeConfDetailComReqDto = new QueryCycleTypeConfDetailComReqDto();
        if (reqDto != null) {
            queryCycleTypeConfDetailComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1650222_1
        }

        /*D2-查询周期类型配置详情(公共)[8581]   */
        Assert.isNull(queryCycleTypeConfDetailComReqDto.getEvaluationTemplateId(), "D2刷目标归属周期绩效配置(公共)-D2-查询周期类型配置详情(公共)-冗余评价模板ID不能为空", false);
        queryCycleTypeConfDetailComRespDto = standardDataService.queryCycleTypeConfDetailCom(queryCycleTypeConfDetailComReqDto)/*vcase invoke isSameApp*/;


//步骤2: D2-3查配置项匹配答案详情(公共)（跨服务） - queryConfItemMatchAnswerDetailCom
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto = null;
        QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto = new QueryConfItemMatchAnswerDetailComReqDto();
        queryConfItemMatchAnswerDetailComReqDto.setConfItemCode("PERFORMANCE_WEIGHT_SETTING_OBJECT");//CUSTOM_CONVENTION//sourceId:1651804_1
        queryConfItemMatchAnswerDetailComReqDto.setIsPlatData("FALSE");//sourceId:1651805_1
        if (reqDto != null) {
            queryConfItemMatchAnswerDetailComReqDto.setResultAspObjId(reqDto.getEvaluationSubjectId());//SimpleFieldAssign//sourceId:1651803_1
        }

        /*D2-3查绩效权重设置对象（评价主题配置）[2486]   */
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getResultAspObjId(), "D2刷目标归属周期绩效配置(公共)-D2-3查绩效权重设置对象（评价主题配置）-开通对象ID不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getConfItemCode(), "D2刷目标归属周期绩效配置(公共)-D2-3查绩效权重设置对象（评价主题配置）-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getIsPlatData(), "D2刷目标归属周期绩效配置(公共)-D2-3查绩效权重设置对象（评价主题配置）-是否标准答案不能为空", false);
        queryConfItemMatchAnswerDetailComRespDto = queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto)/*vcase invoke 同服务,同domain*/;


//步骤3: M2获取接收字段 - obtainReceiveFields
        //ModelCode: receptionService
        ObtainReceiveFieldsRespDto receptionServiceRes_1 = null;
        if (queryCycleTypeConfDetailComRespDto != null) {
            ObtainReceiveFieldsReqDto receptionServiceReq_1 = new ObtainReceiveFieldsReqDto();
            if (queryCycleTypeConfDetailComRespDto != null) {
                receptionServiceReq_1.setCycleMode(queryCycleTypeConfDetailComRespDto.getPeriodicModeTypeCode());//SimpleFieldAssign//sourceId:1650995_1
                receptionServiceReq_1.setSubcycleType(queryCycleTypeConfDetailComRespDto.getSubcycleType());//SimpleFieldAssign//sourceId:1650996_1
                receptionServiceReq_1.setLastCycleType(queryCycleTypeConfDetailComRespDto.getLastCycleType());//SimpleFieldAssign//sourceId:1650998_1
                receptionServiceReq_1.setEnableSubjectiveRatingCycleType(queryCycleTypeConfDetailComRespDto.getEnableSubjectiveRatingCycleType());//SimpleFieldAssign//sourceId:1798058_1
            }
            if (queryConfItemMatchAnswerDetailComRespDto != null) {
                receptionServiceReq_1.setPerformanceWeightSettingObject(queryConfItemMatchAnswerDetailComRespDto.getEndValue());//SimpleFieldAssign//sourceId:1651028_1
            }

            /*M2-接收配置答案出参[4007]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_1.getCycleMode(), "D2刷目标归属周期绩效配置(公共)-M2-接收配置答案出参-周期模式不能为空", false);
            Assert.isNull(receptionServiceReq_1.getSubcycleType(), "D2刷目标归属周期绩效配置(公共)-M2-接收配置答案出参-子周期周期类型不能为空", false);
            Assert.isNull(receptionServiceReq_1.getLastCycleType(), "D2刷目标归属周期绩效配置(公共)-M2-接收配置答案出参-末级周期类型不能为空", false);
            Assert.isNull(receptionServiceReq_1.getEnableSubjectiveRatingCycleType(), "D2刷目标归属周期绩效配置(公共)-M2-接收配置答案出参-开启主客观评分周期类型不能为空", false);
            Assert.isNull(receptionServiceReq_1.getPerformanceWeightSettingObject(), "D2刷目标归属周期绩效配置(公共)-M2-接收配置答案出参-绩效权重设置对象不能为空", false);
            receptionServiceRes_1 = nbConfScheme.obtainReceiveFields(receptionServiceReq_1);


            receptionServiceRes_2 = receptionServiceRes_1;
        }

        ImplementBrushPerfTargetAttributionCycleConfComRespDto retData = new ImplementBrushPerfTargetAttributionCycleConfComRespDto();
        if (receptionServiceRes_2 != null) {
            retData.setCycleMode(receptionServiceRes_2.getCycleMode());//SimpleFieldAssign//sourceId:1651005_1
            retData.setSubcycleType(receptionServiceRes_2.getSubcycleType());//SimpleFieldAssign//sourceId:1651006_1
            retData.setLastCycleType(receptionServiceRes_2.getLastCycleType());//SimpleFieldAssign//sourceId:1651007_1
            retData.setPerformanceWeightSettingObject(receptionServiceRes_2.getPerformanceWeightSettingObject());//SimpleFieldAssign//sourceId:1651806_1
            retData.setEnableSubjectiveRatingCycleType(receptionServiceRes_2.getEnableSubjectiveRatingCycleType());//SimpleFieldAssign//sourceId:1798067_1
        }


        return retData;
    }

    /**
     * D2准备上传文档配置(公共)[8785]
     * gen by moon at 6/9/2024, 12:31:55 AM
     */
    @Trace(operationName = "D2准备上传文档配置(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public PreparationUploadFileConfComRespDto preparationUploadFileConfCom(PreparationUploadFileConfComReqDto reqDto) {


        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_1 = null;
        QueryConfItemMatchAnswerListComRespDto queryConfItemMatchAnswerListComRespDto_1 = null;
//virtualUsage D2-3查文件纯属根路径（平台配置）  69808
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto = null;
        QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto = new QueryConfItemMatchAnswerDetailComReqDto();
        queryConfItemMatchAnswerDetailComReqDto.setConfItemCode("FILE_STORAGE_ROOT_PATH");//CUSTOM_CONVENTION//sourceId:1658825_1_69808
        queryConfItemMatchAnswerDetailComReqDto.setConfSchemeCode("COM_CONF_SCHEME");//CUSTOM_CONVENTION//sourceId:1787156_1_69808
        queryConfItemMatchAnswerDetailComReqDto.setIsPlatData("TRUE");//sourceId:1658826_1_69808

        /*D2-3查文件纯属根路径（平台配置）[2486]   */
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getConfItemCode(), "D2准备上传文档配置(公共)-D2-3查文件纯属根路径（平台配置）-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getConfSchemeCode(), "D2准备上传文档配置(公共)-D2-3查文件纯属根路径（平台配置）-配置方案标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getIsPlatData(), "D2准备上传文档配置(公共)-D2-3查文件纯属根路径（平台配置）-是否标准答案不能为空", false);
        queryConfItemMatchAnswerDetailComRespDto = queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto)/*vcase invoke 同服务,同domain*/;


        queryConfItemMatchAnswerDetailComRespDto_1 = queryConfItemMatchAnswerDetailComRespDto;
        if ((reqDto != null && reqDto.getUploadImageSpecifications() != null)) {
            //if(D2准备上传文档配置(公共).上传图片规格场景 值不等于空 )  69809

            QueryConfItemMatchAnswerListComRespDto queryConfItemMatchAnswerListComRespDto = null;
            QueryConfItemMatchAnswerListComReqDto queryConfItemMatchAnswerListComReqDto = new QueryConfItemMatchAnswerListComReqDto();
            queryConfItemMatchAnswerListComReqDto.setConfSchemeCode("COM_CONF_SCHEME");//CUSTOM_CONVENTION//sourceId:1788204_1_69810
            queryConfItemMatchAnswerListComReqDto.setIsPlatData("TRUE");//sourceId:1788208_1_69810
            if (reqDto != null) {
                queryConfItemMatchAnswerListComReqDto.setConfItemCode(reqDto.getUploadImageSpecifications());//SimpleFieldAssign//sourceId:1788205_1_69810
            }

            /*D2-3查上传图片规格场景（平台配置）[2505]   */
            Assert.isNull(queryConfItemMatchAnswerListComReqDto.getConfItemCode(), "D2准备上传文档配置(公共)-D2-3查上传图片规格场景（平台配置）-配置项标识不能为空", false);
            Assert.isNull(queryConfItemMatchAnswerListComReqDto.getConfSchemeCode(), "D2准备上传文档配置(公共)-D2-3查上传图片规格场景（平台配置）-配置方案标识不能为空", false);
            Assert.isNull(queryConfItemMatchAnswerListComReqDto.getIsPlatData(), "D2准备上传文档配置(公共)-D2-3查上传图片规格场景（平台配置）-是否标准答案不能为空", false);
            queryConfItemMatchAnswerListComRespDto = queryConfItemMatchAnswerListCom(queryConfItemMatchAnswerListComReqDto)/*vcase invoke 同服务,同domain*/;


            queryConfItemMatchAnswerListComRespDto_1 = queryConfItemMatchAnswerListComRespDto;
        }
        PreparationUploadFileConfComRespDto retData = new PreparationUploadFileConfComRespDto();
        if (queryConfItemMatchAnswerDetailComRespDto_1 != null) {
            retData.setFileStorageRootPath(queryConfItemMatchAnswerDetailComRespDto_1.getEndValue());//SimpleFieldAssign//sourceId:1658827_1
        }
        if (queryConfItemMatchAnswerListComRespDto_1 != null) {
            retData.setUploadPicSpecList(//objList-to-objLists
                    queryConfItemMatchAnswerListComRespDto_1.getConfSchemeItemResultList().stream().map(item -> {
                        UploadPicSpecDto elm = new UploadPicSpecDto();
                        if (item != null) {
                            elm.setLength(item.getExtensionField1());//SimpleFieldAssign//sourceId:361124_2
                            elm.setWidth(item.getExtensionField2());//SimpleFieldAssign//sourceId:361125_2
                        }
                        return elm;
                    }).collect(Collectors.toList()));//objList-to-objLists//sourceId:1788213_1
        }


        return retData;
    }

    /**
     * D2答案值批量查配置结果(公共)[9551]
     * gen by moon at 5/11/2024, 11:16:59 PM
     */
    @Trace(operationName = "D2答案值批量查配置结果(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public BatchQueryEndValueBatchConfResultComRespDto batchQueryEndValueBatchConfResultCom(BatchQueryEndValueBatchConfResultComReqDto reqDto) {


        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult_1 = new ArrayList<>();
//步骤0: 2-3-07答案值批量查配置结果 - batchQueryEndValueBatchConfResult
        List<OmsConfSchemeOptionResult> listOmsConfSchemeOptionResult = new ArrayList<>();
        BatchQueryEndValueBatchConfResultReq batchQueryEndValueBatchConfResultReq = new BatchQueryEndValueBatchConfResultReq();
        batchQueryEndValueBatchConfResultReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1790285_1
        if (reqDto != null) {
            batchQueryEndValueBatchConfResultReq.setConfEndValueList(reqDto.getConfEndValueList());//list-field-assign//sourceId:1790281_1
            batchQueryEndValueBatchConfResultReq.setResultAspObjId(reqDto.getResultAspObjId());//SimpleFieldAssign//sourceId:1790283_1
            batchQueryEndValueBatchConfResultReq.setConfItemCode(reqDto.getConfItemCode());//SimpleFieldAssign//sourceId:1790284_1
            batchQueryEndValueBatchConfResultReq.setIsPlatData(reqDto.getIsPlatData());//SimpleFieldAssign//sourceId:1790282_1
        }

        /*2-3-07答案值批量查配置结果[9550]   */
        Assert.isNull(batchQueryEndValueBatchConfResultReq.getSubjectLifeCycle(), "D2答案值批量查配置结果(公共)-2-3-07答案值批量查配置结果-主体生命周期不能为空", false);
        listOmsConfSchemeOptionResult = mOmsConfSchemeOptionResultService.batchQueryEndValueBatchConfResult(batchQueryEndValueBatchConfResultReq)/*vcase invoke 本地 method 方法调用;*/;


        listOmsConfSchemeOptionResult_1 = listOmsConfSchemeOptionResult;

        BatchQueryEndValueBatchConfResultComRespDto retData = new BatchQueryEndValueBatchConfResultComRespDto();
        retData.setConfEndValueList(listOmsConfSchemeOptionResult_1.stream().map(item -> BeanUtil.toBean(item, ConfEndValueDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1790292_1


        return retData;
    }

    /**
     * D2查询初始化空间配置(公共)[9610]
     * gen by moon at 5/19/2024, 1:40:56 AM
     */
    @Trace(operationName = "D2查询初始化空间配置(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryInitSpaceConfDetailComRespDto queryInitSpaceConfDetailCom(QueryInitSpaceConfDetailComReqDto reqDto) {


        ImplementTenReceivingFieldRespDto receptionServiceRes_2 = null;
//步骤0: M2执行第十接收字段（特殊方法） - implementTenReceivingField
        //ModelCode: receptionService
        ImplementTenReceivingFieldRespDto receptionServiceRes = null;
        ImplementTenReceivingFieldReqDto receptionServiceReq = new ImplementTenReceivingFieldReqDto();
        if (reqDto != null) {
            receptionServiceReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1807772_1
        }

        /*M2-接收入参字段[8782]  用于特殊方法接收上游入参。 */
        Assert.isNull(receptionServiceReq.getSpaceId(), "D2查询初始化空间配置(公共)-M2-接收入参字段-空间ID不能为空", false);
        receptionServiceRes = nbConfScheme.implementTenReceivingField(receptionServiceReq);


//步骤1: D2-3查配置项匹配答案详情(公共)（跨服务） - queryConfItemMatchAnswerDetailCom
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto = null;
        QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto = new QueryConfItemMatchAnswerDetailComReqDto();
        queryConfItemMatchAnswerDetailComReqDto.setConfItemCode("FILE_DISPLAY_ROOT_PATH");//CUSTOM_CONVENTION//sourceId:1807781_1
        queryConfItemMatchAnswerDetailComReqDto.setIsPlatData("FALSE");//sourceId:1807782_1
        if (reqDto != null) {
            queryConfItemMatchAnswerDetailComReqDto.setResultAspObjId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1807780_1
        }

        /*D2-3查空间配置-文件展示根路径[2486]   */
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getResultAspObjId(), "D2查询初始化空间配置(公共)-D2-3查空间配置-文件展示根路径-开通对象ID不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getConfItemCode(), "D2查询初始化空间配置(公共)-D2-3查空间配置-文件展示根路径-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getIsPlatData(), "D2查询初始化空间配置(公共)-D2-3查空间配置-文件展示根路径-是否标准答案不能为空", false);
        queryConfItemMatchAnswerDetailComRespDto = queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto)/*vcase invoke 同服务,同domain*/;


//步骤2: M2执行第十接收字段（特殊方法） - implementTenReceivingField
        //ModelCode: receptionService
        ImplementTenReceivingFieldRespDto receptionServiceRes_1 = null;
        if (queryConfItemMatchAnswerDetailComRespDto != null) {
            ImplementTenReceivingFieldReqDto receptionServiceReq_1 = new ImplementTenReceivingFieldReqDto();
            if (queryConfItemMatchAnswerDetailComRespDto != null) {
                receptionServiceReq_1.setFileDisplayRootPath(queryConfItemMatchAnswerDetailComRespDto.getEndValue());//SimpleFieldAssign//sourceId:1807879_1
            }

            /*M2-接收出参字段[8782]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_1.getFileDisplayRootPath(), "D2查询初始化空间配置(公共)-M2-接收出参字段-文件展示根路径不能为空", false);
            receptionServiceRes_1 = nbConfScheme.implementTenReceivingField(receptionServiceReq_1);


            receptionServiceRes_2 = receptionServiceRes_1;
        }

        QueryInitSpaceConfDetailComRespDto retData = new QueryInitSpaceConfDetailComRespDto();
        if (receptionServiceRes_2 != null) {
            retData.setFileDisplayRootPath(receptionServiceRes_2.getFileDisplayRootPath());//SimpleFieldAssign//sourceId:1807880_1
        }


        return retData;
    }

    /**
     * D2新增配置方案推送redis(公共)[9643]
     * gen by moon at 5/26/2024, 10:45:23 PM
     */
    @Trace(operationName = "D2新增配置方案推送redis(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public AddConfPushRedisComRespDto addConfPushRedisCom(AddConfPushRedisComReqDto reqDto) {


        //步骤0: D2-新增redis业务数据对象（业务原子） - addRedisBusinessDataSetCom
        AddRedisBusinessDataSetComRespDto addRedisBusinessDataSetComRespDto = null;
        AddRedisBusinessDataSetComReqDto addRedisBusinessDataSetComReqDto = new AddRedisBusinessDataSetComReqDto();
        addRedisBusinessDataSetComReqDto.setIsDataList("FALSE");//sourceId:1812397_1
        addRedisBusinessDataSetComReqDto.setRedisDataObjectCatalogue("平台软件配置");//CUSTOM_CONVENTION//sourceId:1819400_1
        addRedisBusinessDataSetComReqDto.setIsDeleteRedis("FALSE");//sourceId:1812401_1
        addRedisBusinessDataSetComReqDto.setCustomField1("fileDisplayRootPath");//CUSTOM_CONVENTION//sourceId:1812399_1
        if (reqDto != null) {
            addRedisBusinessDataSetComReqDto.setBusinessDataObject(reqDto.getBusinessDataObject());//SimpleFieldAssign//sourceId:1812395_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue1(reqDto.getCustomFieldValue1());//SimpleFieldAssign//sourceId:1812400_1
        }

        /*D2-新增redis业务数据对象（业务原子）[8399]   */
        Assert.isNull(addRedisBusinessDataSetComReqDto.getBusinessDataObject(), "D2新增配置方案推送redis(公共)-D2-新增redis业务数据对象（业务原子）-业务数据对象不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getIsDataList(), "D2新增配置方案推送redis(公共)-D2-新增redis业务数据对象（业务原子）-是否是数据集对象不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getRedisDataObjectCatalogue(), "D2新增配置方案推送redis(公共)-D2-新增redis业务数据对象（业务原子）-Redis数据对象目录不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getIsDeleteRedis(), "D2新增配置方案推送redis(公共)-D2-新增redis业务数据对象（业务原子）-是否删除redis历史数据不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField1(), "D2新增配置方案推送redis(公共)-D2-新增redis业务数据对象（业务原子）-自定义字段1不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue1(), "D2新增配置方案推送redis(公共)-D2-新增redis业务数据对象（业务原子）-自定义字段值1不能为空", false);
        addRedisBusinessDataSetComRespDto = businessAtomService.addRedisBusinessDataSetCom(addRedisBusinessDataSetComReqDto)/*vcase invoke isSameApp*/;


        AddConfPushRedisComRespDto retData = new AddConfPushRedisComRespDto();


        return retData;
    }

    /**
     * D2执行配置方案推送redis(公共)[9644]
     * gen by moon at 5/23/2024, 11:25:58 PM
     */
    @Trace(operationName = "D2执行配置方案推送redis(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public ImplementConfPushRedisComRespDto implementConfPushRedisCom(ImplementConfPushRedisComReqDto reqDto) {


        //步骤0: D2查询初始化平台配置详情(公共) - queryInitPlatformConfDetailCom
        QueryInitPlatformConfDetailComRespDto queryInitPlatformConfDetailComRespDto = null;
        QueryInitPlatformConfDetailComReqDto queryInitPlatformConfDetailComReqDto = new QueryInitPlatformConfDetailComReqDto();
        if (reqDto != null) {
            queryInitPlatformConfDetailComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1815727_1
        }

        /*D2查询初始化平台配置详情(公共)[9610]   */
        Assert.isNull(queryInitPlatformConfDetailComReqDto.getSpaceId(), "D2执行配置方案推送redis(公共)-D2查询初始化平台配置详情(公共)-空间ID不能为空", false);
        queryInitPlatformConfDetailComRespDto = queryInitPlatformConfDetailCom(queryInitPlatformConfDetailComReqDto)/*vcase invoke 同服务,同domain*/;


//步骤1: D2新增配置方案推送redis(公共) - addConfPushRedisCom
        AddConfPushRedisComRespDto addConfPushRedisComRespDto = null;
        if (queryInitPlatformConfDetailComRespDto != null) {
            AddConfPushRedisComReqDto addConfPushRedisComReqDto = new AddConfPushRedisComReqDto();
            addConfPushRedisComReqDto.setBusinessDataObject("PLATFORM_OM_CONF");//sourceId:1812431_1
            if (queryInitPlatformConfDetailComRespDto != null) {
                addConfPushRedisComReqDto.setCustomFieldValue1(queryInitPlatformConfDetailComRespDto.getFileDisplayRootPath());//SimpleFieldAssign//sourceId:1812432_1
            }

            /*D2新增配置方案推送redis(公共)[9643]   */
            Assert.isNull(addConfPushRedisComReqDto.getBusinessDataObject(), "D2执行配置方案推送redis(公共)-D2新增配置方案推送redis(公共)-业务数据对象不能为空", false);
            Assert.isNull(addConfPushRedisComReqDto.getCustomFieldValue1(), "D2执行配置方案推送redis(公共)-D2新增配置方案推送redis(公共)-自定义字段值1不能为空", false);
            addConfPushRedisComRespDto = addConfPushRedisCom(addConfPushRedisComReqDto)/*vcase invoke 同服务,同domain*/;


        }

        ImplementConfPushRedisComRespDto retData = new ImplementConfPushRedisComRespDto();


        return retData;
    }

    /**
     * D2查询初始化平台配置详情(公共)[9610]
     * gen by moon at 5/27/2024, 7:29:01 PM
     */
    @Trace(operationName = "D2查询初始化平台配置详情(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryInitPlatformConfDetailComRespDto queryInitPlatformConfDetailCom(QueryInitPlatformConfDetailComReqDto reqDto) {


        ImplementTenReceivingFieldRespDto receptionServiceRes_2 = null;
//步骤0: M2执行第十接收字段（特殊方法） - implementTenReceivingField
        //ModelCode: receptionService
        ImplementTenReceivingFieldRespDto receptionServiceRes = null;
        ImplementTenReceivingFieldReqDto receptionServiceReq = new ImplementTenReceivingFieldReqDto();
        if (reqDto != null) {
            receptionServiceReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1807772_1
        }

        /*M2-接收入参字段[8782]  用于特殊方法接收上游入参。 */
        Assert.isNull(receptionServiceReq.getSpaceId(), "D2查询初始化平台配置详情(公共)-M2-接收入参字段-空间ID不能为空", false);
        receptionServiceRes = nbConfScheme.implementTenReceivingField(receptionServiceReq);


//步骤1: D2-3查配置项匹配答案详情(公共)（跨服务） - queryConfItemMatchAnswerDetailCom
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto = null;
        QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto = new QueryConfItemMatchAnswerDetailComReqDto();
        queryConfItemMatchAnswerDetailComReqDto.setConfItemCode("FILE_DISPLAY_ROOT_PATH");//CUSTOM_CONVENTION//sourceId:1807781_1
        queryConfItemMatchAnswerDetailComReqDto.setConfSchemeCode("PLATFORM_OM_CONF_SCHEME");//CUSTOM_CONVENTION//sourceId:1820911_1
        queryConfItemMatchAnswerDetailComReqDto.setIsPlatData("TRUE");//sourceId:1807782_1

        /*D2-3查平台运维配置-文件展示根路径[2486]   */
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getConfItemCode(), "D2查询初始化平台配置详情(公共)-D2-3查平台运维配置-文件展示根路径-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getConfSchemeCode(), "D2查询初始化平台配置详情(公共)-D2-3查平台运维配置-文件展示根路径-配置方案标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getIsPlatData(), "D2查询初始化平台配置详情(公共)-D2-3查平台运维配置-文件展示根路径-是否标准答案不能为空", false);
        queryConfItemMatchAnswerDetailComRespDto = queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto)/*vcase invoke 同服务,同domain*/;


//步骤2: M2执行第十接收字段（特殊方法） - implementTenReceivingField
        //ModelCode: receptionService
        ImplementTenReceivingFieldRespDto receptionServiceRes_1 = null;
        if (queryConfItemMatchAnswerDetailComRespDto != null) {
            ImplementTenReceivingFieldReqDto receptionServiceReq_1 = new ImplementTenReceivingFieldReqDto();
            if (queryConfItemMatchAnswerDetailComRespDto != null) {
                receptionServiceReq_1.setFileDisplayRootPath(queryConfItemMatchAnswerDetailComRespDto.getEndValue());//SimpleFieldAssign//sourceId:1807879_1
            }

            /*M2-接收出参字段[8782]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_1.getFileDisplayRootPath(), "D2查询初始化平台配置详情(公共)-M2-接收出参字段-文件展示根路径不能为空", false);
            receptionServiceRes_1 = nbConfScheme.implementTenReceivingField(receptionServiceReq_1);


            receptionServiceRes_2 = receptionServiceRes_1;
        }

        QueryInitPlatformConfDetailComRespDto retData = new QueryInitPlatformConfDetailComRespDto();
        if (receptionServiceRes_2 != null) {
            retData.setFileDisplayRootPath(receptionServiceRes_2.getFileDisplayRootPath());//SimpleFieldAssign//sourceId:1807880_1
        }


        return retData;
    }

    /**
     * D2查询财务小数规则详情(公共)[9673]
     * gen by moon at 5/28/2024, 6:59:11 PM
     */
    @Trace(operationName = "D2查询财务小数规则详情(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryFinaceDecimalPointDetailComRespDto queryFinaceDecimalPointDetailCom(QueryFinaceDecimalPointDetailComReqDto reqDto) {


        ImplementTenReceivingFieldRespDto receptionServiceRes_1 = null;
//步骤0: D2-3查配置项匹配答案详情(公共)（跨服务） - queryConfItemMatchAnswerDetailCom
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto = null;
        QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto = new QueryConfItemMatchAnswerDetailComReqDto();
        queryConfItemMatchAnswerDetailComReqDto.setConfItemCode("FINACE_DECIMAL_POINT");//CUSTOM_CONVENTION//sourceId:1823799_1
        queryConfItemMatchAnswerDetailComReqDto.setIsPlatData("FALSE");//sourceId:1823808_1
        if (reqDto != null) {
            queryConfItemMatchAnswerDetailComReqDto.setResultAspObjId(reqDto.getResultAspObjId());//SimpleFieldAssign//sourceId:1823801_1
        }

        /*D2查评价模板配置方案-小数点最后一位规则[2486]   */
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getResultAspObjId(), "D2查询财务小数规则详情(公共)-D2查评价模板配置方案-小数点最后一位规则-开通对象ID不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getConfItemCode(), "D2查询财务小数规则详情(公共)-D2查评价模板配置方案-小数点最后一位规则-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getIsPlatData(), "D2查询财务小数规则详情(公共)-D2查评价模板配置方案-小数点最后一位规则-是否标准答案不能为空", false);
        queryConfItemMatchAnswerDetailComRespDto = queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto)/*vcase invoke 同服务,同domain*/;


//步骤1: D2-3查配置项匹配答案详情(公共)（跨服务） - queryConfItemMatchAnswerDetailCom
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_2 = null;
        QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto_1 = new QueryConfItemMatchAnswerDetailComReqDto();
        queryConfItemMatchAnswerDetailComReqDto_1.setConfItemCode("DECIMAL_DIGITS_LAST_RULES");//CUSTOM_CONVENTION//sourceId:1823819_1
        queryConfItemMatchAnswerDetailComReqDto_1.setIsPlatData("FALSE");//sourceId:1823828_1
        if (reqDto != null) {
            queryConfItemMatchAnswerDetailComReqDto_1.setResultAspObjId(reqDto.getResultAspObjId());//SimpleFieldAssign//sourceId:1823821_1
        }

        /*D2查评价模板配置方案-小数点最后一位规则[2486]   */
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_1.getResultAspObjId(), "D2查询财务小数规则详情(公共)-D2查评价模板配置方案-小数点最后一位规则-开通对象ID不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_1.getConfItemCode(), "D2查询财务小数规则详情(公共)-D2查评价模板配置方案-小数点最后一位规则-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_1.getIsPlatData(), "D2查询财务小数规则详情(公共)-D2查评价模板配置方案-小数点最后一位规则-是否标准答案不能为空", false);
        queryConfItemMatchAnswerDetailComRespDto_2 = queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto_1)/*vcase invoke 同服务,同domain*/;


//步骤2: M2执行第十接收字段（特殊方法） - implementTenReceivingField
        //ModelCode: receptionService
        ImplementTenReceivingFieldRespDto receptionServiceRes = null;
        if (queryConfItemMatchAnswerDetailComRespDto != null) {
            ImplementTenReceivingFieldReqDto receptionServiceReq = new ImplementTenReceivingFieldReqDto();
            if (queryConfItemMatchAnswerDetailComRespDto != null) {
                receptionServiceReq.setFinaceDecimalPoint(Long.valueOf(queryConfItemMatchAnswerDetailComRespDto.getEndValue()));//SimpleFieldAssign//sourceId:1823966_1
            }
            if (queryConfItemMatchAnswerDetailComRespDto_2 != null) {
                receptionServiceReq.setDecimalDigitsLastRules(queryConfItemMatchAnswerDetailComRespDto_2.getEndValue());//SimpleFieldAssign//sourceId:1823962_1
            }

            /*M2接收出参字段[8782]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq.getFinaceDecimalPoint(), "D2查询财务小数规则详情(公共)-M2接收出参字段-财务小数点规则不能为空", false);
            Assert.isNull(receptionServiceReq.getDecimalDigitsLastRules(), "D2查询财务小数规则详情(公共)-M2接收出参字段-小数最后一位规则不能为空", false);
            receptionServiceRes = nbConfScheme.implementTenReceivingField(receptionServiceReq);


            receptionServiceRes_1 = receptionServiceRes;
        }

        QueryFinaceDecimalPointDetailComRespDto retData = new QueryFinaceDecimalPointDetailComRespDto();
        if (receptionServiceRes_1 != null) {
            retData.setFinaceDecimalPoint(receptionServiceRes_1.getFinaceDecimalPoint());//SimpleFieldAssign//sourceId:1823968_1
            retData.setDecimalDigitsLastRules(receptionServiceRes_1.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:1823969_1
        }


        return retData;
    }
    //
}
